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

Function PxFilterObjectIsTrigger

physx/include/PxFiltering.h:530–533  ·  view source on GitHub ↗

\brief Specifies whether the collision object is a trigger shape \param[in] attr The filter attribute of a collision pair object \return True if the object is a trigger shape, else false @see PxShapeFlag::eTRIGGER_SHAPE */

Source from the content-addressed store, hash-verified

528@see PxShapeFlag::eTRIGGER_SHAPE
529*/
530PX_INLINE bool PxFilterObjectIsTrigger(PxFilterObjectAttributes attr)
531{
532 return (attr & PxFilterObjectFlag::eTRIGGER) != 0;
533}
534
535
536/**

Calls

no outgoing calls

Tested by

no test coverage detected