Platform SDK: Agent

IAgentCharacterEx::GetOriginalSize

HRESULT GetOriginalSize(
   long * plWidth,  // address of variable for character width 
   long * plHeight  // address of variable for character height
);

Retrieves the original size of the character's animation frame.

plWidth
Address of a variable that receives the original width of the character animation frame in pixels.
plHeight
Address of a variable that receives the original height of the character animation frame in pixels.

This call returns the original size of the character frame as built in the Microsoft Agent Character Editor.

See Also

IAgentCharacter::GetSize