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

Method setQueryFilterData

physx/source/physx/src/NpShape.cpp:377–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377void NpShape::setQueryFilterData(const PxFilterData& data)
378{
379 NP_WRITE_CHECK(getOwnerScene());
380 PX_CHECK_AND_RETURN(isWritable(), "PxShape::setQueryFilterData: shared shapes attached to actors are not writable.");
381
382 mShape.getScShape().setQueryFilterData(data); // PT: this one doesn't need double-buffering
383
384 updatePvdProperties(mShape);
385}
386
387PxFilterData NpShape::getQueryFilterData() const
388{

Callers 15

createDrivablePlaneFunction · 0.80
createVehicleActorFunction · 0.80
initPhysicsFunction · 0.80
createBoxMethod · 0.80
createLandscapeMeshMethod · 0.80
setupActorFunction · 0.80
addStaticObstacleMethod · 0.80
addDynamicObstacleMethod · 0.80
createObstaclesMethod · 0.80
PxCloneShapeFunction · 0.80

Calls 1

updatePvdPropertiesFunction · 0.70

Tested by

no test coverage detected