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

Method onRemove

Engine/source/T3D/shapeBase.cpp:1056–1071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1054}
1055
1056void ShapeBase::onRemove()
1057{
1058 mConvexList->nukeList();
1059
1060 Parent::onRemove();
1061
1062 // Stop any running sounds on the client
1063 if (isGhost())
1064 for (S32 i = 0; i < MaxSoundThreads; i++)
1065 stopAudio(i);
1066
1067 if ( isClientObject() )
1068 {
1069 mCubeReflector.unregisterReflector();
1070 }
1071}
1072
1073
1074void ShapeBase::onSceneRemove()

Callers

nothing calls this directly

Calls 2

nukeListMethod · 0.80
unregisterReflectorMethod · 0.45

Tested by

no test coverage detected