Typedefs |
|
typedef AnimHandle | NodeKey |
typedef Tab< NodeKey > | NodeKeyTab |
typedef SceneEventNamespace::CallbackKey |
CallbackKey |
Functions |
|
NodeKey | GetKeyByNode (INode *node) |
Returns the NodeKey for a node object.
|
|
INode * | GetNodeByKey (NodeKey nodeKey) |
Returns a node object from a NodeKey.
|
typedef AnimHandle NodeKey |
typedef Tab<NodeKey> NodeKeyTab |
Returns the NodeKey for a node object.
Returns a node's key value, which is the AnimHandle for the node object.
[in] | node | The node object. |
{ if( node!=NULL ) return Animatable::GetHandleByAnim((Animatable*)node); else return 0; }
INode* NodeEventNamespace::GetNodeByKey | ( | NodeKey | nodeKey | ) | [inline] |
Returns a node object from a NodeKey.
Returns a node object from its key value, which is the AnimHandle for the node object.
[in] | nodeKey | The node's key value, which is the AnimHandle for the node object. |
{ Animatable* anim = Animatable::GetAnimByHandle(nodeKey); if( (anim!=NULL) && (anim->SuperClassID()==BASENODE_CLASS_ID) ) return (INode*)anim; else return NULL; }