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

Method removeObject

Engine/source/scene/simPath.cpp:267–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void Path::removeObject(SimObject* obj)
268{
269 bool recalc = dynamic_cast<Marker*>(obj) != NULL;
270
271 Parent::removeObject(obj);
272
273 if (mPathIndex != NoPathIndex && recalc == true)
274 updatePath();
275}
276
277DefineEngineMethod( Path, getPathId, S32, (),,
278 "@brief Returns the PathID (not the object ID) of this path.\n\n"

Callers 3

removeObjectFromSceneMethod · 0.45
clearScopeAlwaysMethod · 0.45
actionMap.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected