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

Method setProcessTick

Engine/source/scene/sceneObject.cpp:941–961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939//-----------------------------------------------------------------------------
940
941void SceneObject::setProcessTick( bool t )
942{
943 if ( t == mProcessTick )
944 return;
945
946 if ( mProcessTick )
947 {
948 if ( !getMountedObjectCount() )
949 plUnlink(); // Only unlink if there is nothing mounted to us
950 mProcessTick = false;
951 }
952 else
953 {
954 // Just to be sure...
955 plUnlink();
956
957 getProcessList()->addObject( this );
958
959 mProcessTick = true;
960 }
961}
962
963//-----------------------------------------------------------------------------
964

Callers

nothing calls this directly

Calls 1

addObjectMethod · 0.45

Tested by

no test coverage detected