MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / removeActor

Method removeActor

deps/physx/physx/source/physx/src/NpScene.cpp:659–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 9

DestroyMethod · 0.45
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