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

Method addThread

Engine/source/ts/tsThread.cpp:503–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501//-------------------------------------------------------------------------------------
502
503TSThread * TSShapeInstance::addThread()
504{
505 if (mShape->sequences.empty())
506 return NULL;
507
508 mThreadList.increment();
509 mThreadList.last() = new TSThread(this);
510 setDirty(AllDirtyMask);
511 return mThreadList.last();
512}
513
514TSThread * TSShapeInstance::getThread(S32 threadNumber)
515{

Callers 15

shapeEditor.ed.csFile · 0.45
shapeEditor.ed.csFile · 0.45
onNewDataBlockMethod · 0.45
setThreadSequenceMethod · 0.45
_initAnimationMethod · 0.45
processTickMethod · 0.45
onAddMethod · 0.45
advanceTimeMethod · 0.45
_createShapeMethod · 0.45
setImageMethod · 0.45
preloadMethod · 0.45
onNewDataBlockMethod · 0.45

Calls 3

incrementMethod · 0.80
lastMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected