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

Method createObject

physx/source/physx/src/NpRigidDynamic.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50NpRigidDynamic* NpRigidDynamic::createObject(PxU8*& address, PxDeserializationContext& context)
51{
52 NpRigidDynamic* obj = new (address) NpRigidDynamic(PxBaseFlag::eIS_RELEASABLE);
53 address += sizeof(NpRigidDynamic);
54 obj->importExtraData(context);
55 obj->resolveReferences(context);
56 return obj;
57}
58//~PX_SERIALIZATION
59
60void NpRigidDynamic::release()

Callers

nothing calls this directly

Calls 2

importExtraDataMethod · 0.45
resolveReferencesMethod · 0.45

Tested by

no test coverage detected