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

Method setName

physx/source/physx/src/NpShape.cpp:655–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653}
654
655void NpShape::setName(const char* debugName)
656{
657 NP_WRITE_CHECK(getOwnerScene());
658 PX_CHECK_AND_RETURN(isWritable(), "PxShape::setName: shared shapes attached to actors are not writable.");
659
660 mName = debugName;
661
662 updatePvdProperties(mShape);
663}
664
665const char* NpShape::getName() const
666{

Callers 9

addRepXToPxCollectionMethod · 0.45
onDigitalInputEventMethod · 0.45
buildBridgeFunction · 0.45
newShapeMethod · 0.45
setPxActor_NameFunction · 0.45
setPxShape_NameFunction · 0.45
setPxJoint_NameFunction · 0.45

Calls 1

updatePvdPropertiesFunction · 0.70

Tested by

no test coverage detected