| Description: An EXT_Entity can potentially contain multiple sub animations; e.g. multiple skinned meshes mixed with hierarchical animation. Blitz animation functions don't work on these hierarchies, they seem to only update the first anim they find. The B3d Extensions library finds these SubAnims and animates them properly. |
| EXT_SubAnim |
| Field description: entity = subanim entity handle nextSubAnim.EXT_subAnim = next in linked list |
| EXT_InitSubAnims(ext.EXT_Entity) |
| Description: Find all subAnims owned by an EXT_Entity |
| Parameters: ext.EXT_Entity |
| Return value: None |
| EXT_EnumSubAnims(root,nextSubAnim.EXT_SubAnim,[count=0]) |
| Description: Recurse through hierarchy to build linked list of sub anims |
| Parameters: root nextSubAnim.EXT_SubAnim count [Default value = 0] |
| Return value: - |
| EXT_UpdateSubAnims(ext.EXT_Entity) |
| Description: This function transfers the animtime from the root entity to all sub anims |
| Parameters: ext.EXT_Entity |
| Return value: None |
| EXT_NumSubAnims(ext.EXT_Entity) |
| Description: Counts the number of EXT_SubAnims owned by an EXT_Entity |
| Parameters: ext.EXT_Entity = owner |
| Return value: number of EXT_SubAnims |
| EXT_DeleteSubAnims(ext.EXT_Entity) |
| Description: Deletes all EXT_SubAnims owned by an EXT_Entity NOTE: this doesn't delete the actual Blitz entities |
| Parameters: ext.EXT_Entity |
| Return value: None |
| EXT_DeleteAllSubAnims() |
| Description: Deletes all EXT_SubAnims ------------------------------------------------------------------------------------------------ |
| Return value: None |
on 17 Feb 2004.