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

Method onRemove

Engine/source/environment/meshRoad.cpp:1076–1089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1074}
1075
1076void MeshRoad::onRemove()
1077{
1078 SAFE_DELETE( mPhysicsRep );
1079
1080 mConvexList->nukeList();
1081
1082 for ( U32 i = 0; i < SurfaceCount; i++ )
1083 {
1084 SAFE_DELETE( mMatInst[i] );
1085 }
1086
1087 removeFromScene();
1088 Parent::onRemove();
1089}
1090
1091void MeshRoad::inspectPostApply()
1092{

Callers

nothing calls this directly

Calls 1

nukeListMethod · 0.80

Tested by

no test coverage detected