MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / removeActor

Method removeActor

physx/source/physx/src/NpScene.cpp:662–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660}
661
662void NpScene::removeActor(PxActor& actor, bool wakeOnLostTouch)
663{
664 PX_PROFILE_ZONE("API.removeActor", getContextId());
665 NP_WRITE_CHECK(this);
666 if (removeFromSceneCheck(this, actor.getScene(), "PxScene::removeActor(): Actor"))
667 {
668 removeActorInternal(actor, wakeOnLostTouch, true);
669 }
670}
671
672void NpScene::removeActorInternal(PxActor& actor, bool wakeOnLostTouch, bool removeFromAggregate)
673{

Callers 8

simulateMethod · 0.45
fileToObjectMethod · 0.45
NpScene.cppFile · 0.45
removeActorTFunction · 0.45
removeAggregateMethod · 0.45
releaseActorTFunction · 0.45
releaseInternalMethod · 0.45

Calls 3

removeFromSceneCheckFunction · 0.85
getContextIdFunction · 0.50
getSceneMethod · 0.45

Tested by

no test coverage detected