MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / getThreadSequenceName

Method getThreadSequenceName

Engine/source/T3D/shapeBase.cpp:2155–2169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2153//----------------------------------------------------------------------------
2154
2155const char *ShapeBase::getThreadSequenceName( U32 slot )
2156{
2157 Thread& st = mScriptThread[slot];
2158 if ( st.sequence == -1 )
2159 {
2160 // Invalid Animation.
2161 return "";
2162 }
2163
2164 // Name Index
2165 const U32 nameIndex = getShape()->sequences[st.sequence].nameIndex;
2166
2167 // Return Name.
2168 return getShape()->getName( nameIndex );
2169}
2170
2171bool ShapeBase::setThreadSequence(U32 slot, S32 seq, bool reset)
2172{

Callers 1

advanceThreadsMethod · 0.95

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected