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

Method onRemove

Engine/source/T3D/fx/fxShapeReplicator.cpp:512–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510//------------------------------------------------------------------------------
511
512void fxShapeReplicator::onRemove()
513{
514 // Remove the Replicator from the Replicator Set.
515 dynamic_cast<SimSet*>(Sim::findObject("fxReplicatorSet"))->removeObject(this);
516
517 NetConnection::smGhostAlwaysDone.remove( this, &fxShapeReplicator::onGhostAlwaysDone );
518
519 removeFromScene();
520
521 // Destroy Shapes.
522 DestroyShapes();
523
524 // Do Parent.
525 Parent::onRemove();
526}
527
528//------------------------------------------------------------------------------
529

Callers

nothing calls this directly

Calls 3

findObjectFunction · 0.50
removeObjectMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected