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

Method playThread

Engine/source/T3D/shapeBase.cpp:2437–2447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2435}
2436
2437bool ShapeBase::playThread(U32 slot)
2438{
2439 Thread& st = mScriptThread[slot];
2440 if (st.sequence != -1 && st.state != Thread::Play) {
2441 setMaskBits(ThreadMaskN << slot);
2442 st.state = Thread::Play;
2443 updateThread(st);
2444 return true;
2445 }
2446 return false;
2447}
2448
2449bool ShapeBase::setThreadPosition( U32 slot, F32 pos )
2450{

Callers 3

playAnimationMethod · 0.80
playAnimationMethod · 0.80
shapeBase.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected