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

Method setProcessTick

Engine/source/scene/sceneObject.cpp:1121–1141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1119//-----------------------------------------------------------------------------
1120
1121void SceneObject::setProcessTick( bool t )
1122{
1123 if ( t == mProcessTick )
1124 return;
1125
1126 if ( mProcessTick )
1127 {
1128 if ( !getMountedObjectCount() )
1129 plUnlink(); // Only unlink if there is nothing mounted to us
1130 mProcessTick = false;
1131 }
1132 else
1133 {
1134 // Just to be sure...
1135 plUnlink();
1136
1137 getProcessList()->addObject( this );
1138
1139 mProcessTick = true;
1140 }
1141}
1142
1143//-----------------------------------------------------------------------------
1144

Callers

nothing calls this directly

Calls 1

addObjectMethod · 0.45

Tested by

no test coverage detected