MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getAnimation

Method getAnimation

Engine/modules/Verve/Torque3D/VAnimation.cpp:54–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54String VTorque::getAnimation( SceneObjectType *pObject, const U32 &pThreadIndex )
55{
56 ShapeBase *shape = dynamic_cast<ShapeBase*>( pObject );
57 if ( !shape )
58 {
59 // Sanity!
60 return "";
61 }
62
63 // Return Name.
64 return shape->getThreadSequenceName( pThreadIndex );
65}
66
67F32 VTorque::getAnimationDuration( SceneObjectType *pObject, const char *pData )
68{

Callers

nothing calls this directly

Calls 1

getThreadSequenceNameMethod · 0.80

Tested by

no test coverage detected