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

Method setActiveActors

physx/source/simulationcontroller/src/ScScene.cpp:5212–5217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5210}
5211
5212void Sc::Scene::setActiveActors(PxActor** actors, PxU32 nbActors)
5213{
5214 mActiveActors.forceSize_Unsafe(0);
5215 mActiveActors.resize(nbActors);
5216 PxMemCopy(mActiveActors.begin(), actors, sizeof(PxActor*) * nbActors);
5217}
5218
5219PxActor** Sc::Scene::getFrozenActors(PxU32& nbActorsOut)
5220{

Callers

nothing calls this directly

Calls 4

PxMemCopyFunction · 0.85
forceSize_UnsafeMethod · 0.45
resizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected