Characterisation
The process and by which an author presents a
character
(and the set of techniques they use) to us, giving us the impression of a more or less
real
"person" is called characterisation.