TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iCharacterNode Struct Referenceabstract
Inheritance diagram for iCharacterNode:
iUnknown

Detailed Description

Character node interface.

Public Member Functions

virtual iHStringGetName () const =0
 Get the node's name. {Property}. More...
 
virtual void SetFlags (tCharacterNodeFlags aFlags)=0
 Set the node's flags. {Property}. More...
 
virtual tCharacterNodeFlags GetFlags () const =0
 Get the node's flags. {Property}. More...
 
virtual iTransformGetTransform () const =0
 Get the node's transform. {Property}. More...
 
virtual sMatrixf GetPoseMatrix () const =0
 Get the node's pose local matrix. {Property}. More...
 
virtual iCharacterNodeGetParent () const =0
 Get the parent node. More...
 
virtual tU32 GetNumChildren () const =0
 Get the number of children nodes. {Property}. More...
 
virtual iCharacterNodeGetChild (tU32 anIndex) const =0
 Get the child node's id at the specified index. {Property}. More...
 
virtual iAnimationKeysSetGetAnimationKeysSet (tU32 anAnimIndex) const =0
 Get the animation key set associated with the specified animation. {Property}. More...
 
virtual tBool SetAnimationWeight (tU32 anAnimIndex, tF32 afWeight)=0
 Set the relative weight of the specified animation on this node. {Property}. More...
 
virtual tF32 GetAnimationWeight (tU32 anAnimIndex) const =0
 Get the relative weight of the specified animation on this node. {Property}. More...
 
virtual const tU32CVecGetMeshes () const =0
 Get the meshes of the node. {Property}. More...
 
virtual tU32 GetAnimatedPropertyIndex () const =0
 Return the animated property index. {Property}. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual iHString* GetName ( ) const
pure virtual

Get the node's name. {Property}.

virtual void SetFlags ( tCharacterNodeFlags  aFlags)
pure virtual

Set the node's flags. {Property}.

virtual tCharacterNodeFlags GetFlags ( ) const
pure virtual

Get the node's flags. {Property}.

virtual iTransform* GetTransform ( ) const
pure virtual

Get the node's transform. {Property}.

virtual sMatrixf GetPoseMatrix ( ) const
pure virtual

Get the node's pose local matrix. {Property}.

virtual iCharacterNode* GetParent ( ) const
pure virtual

Get the parent node.

Remarks
eInvalidHandle means that the node doesnt have any parent. {Property}
virtual tU32 GetNumChildren ( ) const
pure virtual

Get the number of children nodes. {Property}.

virtual iCharacterNode* GetChild ( tU32  anIndex) const
pure virtual

Get the child node's id at the specified index. {Property}.

virtual iAnimationKeysSet* GetAnimationKeysSet ( tU32  anAnimIndex) const
pure virtual

Get the animation key set associated with the specified animation. {Property}.

virtual tBool SetAnimationWeight ( tU32  anAnimIndex,
tF32  afWeight 
)
pure virtual

Set the relative weight of the specified animation on this node. {Property}.

virtual tF32 GetAnimationWeight ( tU32  anAnimIndex) const
pure virtual

Get the relative weight of the specified animation on this node. {Property}.

virtual const tU32CVec* GetMeshes ( ) const
pure virtual

Get the meshes of the node. {Property}.

virtual tU32 GetAnimatedPropertyIndex ( ) const
pure virtual

Return the animated property index. {Property}.