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

Method initGround

Engine/source/ts/tsAnimate.cpp:941–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939}
940
941bool TSShapeInstance::initGround()
942{
943 for (S32 i=0; i<mThreadList.size(); i++)
944 {
945 TSThread * th = mThreadList[i];
946 if (!th->transitionData.inTransition && th->getSequence()->numGroundFrames>0)
947 {
948 mGroundThread = th;
949 return true;
950 }
951 }
952 return false;
953}
954
955void TSShapeInstance::animateGround()
956{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
getSequenceMethod · 0.45

Tested by

no test coverage detected