30 #ifndef PX_PHYSICS_NX_SHAPE 31 #define PX_PHYSICS_NX_SHAPE 79 eSIMULATION_SHAPE = (1<<0),
84 eSCENE_QUERY_SHAPE = (1<<1),
106 eTRIGGER_SHAPE = (1<<2),
113 eVISUALIZATION = (1<<3)
156 virtual void release() = 0;
166 virtual PxU32 getReferenceCount()
const = 0;
173 virtual void acquireReference() = 0;
335 virtual void setLocalPose(
const PxTransform& pose) = 0;
365 virtual void setSimulationFilterData(
const PxFilterData& data) = 0;
372 virtual PxFilterData getSimulationFilterData()
const = 0;
381 virtual void setQueryFilterData(
const PxFilterData& data) = 0;
403 virtual void setMaterials(
PxMaterial*
const* materials,
PxU16 materialCount) = 0;
414 virtual PxU16 getNbMaterials()
const = 0;
450 virtual PxMaterial* getMaterialFromInternalFaceIndex(
PxU32 faceIndex)
const = 0;
468 virtual void setContactOffset(
PxReal contactOffset) = 0;
477 virtual PxReal getContactOffset()
const = 0;
494 virtual void setRestOffset(
PxReal restOffset) = 0;
503 virtual PxReal getRestOffset()
const = 0;
518 virtual void setTorsionalPatchRadius(
PxReal radius) = 0;
530 virtual PxReal getTorsionalPatchRadius()
const = 0;
544 virtual void setMinTorsionalPatchRadius(
PxReal radius) = 0;
556 virtual PxReal getMinTorsionalPatchRadius()
const = 0;
596 virtual bool isExclusive()
const = 0;
610 virtual void setName(
const char* name) = 0;
619 virtual const char* getName()
const = 0;
Definition: GuContactBuffer.h:37
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxShape.h:632
PxFilterData is user-definable data which gets passed into the collision filtering shader and/or call...
Definition: PxFiltering.h:366
Class representing the geometry of a capsule.
Definition: PxCapsuleGeometry.h:55
Abstract class for collision shapes.
Definition: PxShape.h:142
float PxReal
Definition: PxSimpleTypes.h:78
A class representing the geometry of a sphere.
Definition: PxSphereGeometry.h:49
virtual bool isKindOf(const char *superClass) const
Returns whether a given type name matches with the type of this instance.
Definition: PxBase.h:178
A geometry object.
Definition: PxGeometry.h:75
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition: PxShape.h:622
PxU16 PxType
Definition: PxBase.h:49
PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...
Definition: PxRigidActor.h:58
Height field geometry class.
Definition: PxHeightFieldGeometry.h:56
virtual ~PxShape()
Definition: PxShape.h:631
PxFlags< PxShapeFlag::Enum, PxU8 > PxShapeFlags
collection of set bits defined in PxShapeFlag.
Definition: PxShape.h:122
PxU8 geometry[sizeof(PxGeometry)]
Definition: PxGeometryHelpers.h:215
Flags which affect the behavior of PxShapes.
Definition: PxShape.h:63
uint8_t PxU8
Definition: PxSimpleTypes.h:75
Enum
Definition: PxGeometry.h:53
Enum
Definition: PxShape.h:65
Geometry holder class.
Definition: PxGeometryHelpers.h:64
Class describing a plane geometry.
Definition: PxPlaneGeometry.h:59
PX_INLINE PxShape(PxType concreteType, PxBaseFlags baseFlags)
Definition: PxShape.h:630
Material class to represent a set of surface properties.
Definition: PxMaterial.h:143
Container for bitfield flag variables associated with a specific enum type.
Definition: PxFlags.h:73
Stores results of sweep queries.
Definition: PxQueryReport.h:200
void * userData
user can assign this to whatever, usually to create a 1:1 relationship with a user object...
Definition: PxShape.h:626
Stores results of raycast queries.
Definition: PxQueryReport.h:174
uint16_t PxU16
Definition: PxSimpleTypes.h:73
uint32_t PxU32
Definition: Px.h:48
PX_INLINE PxShape(PxBaseFlags baseFlags)
Definition: PxShape.h:629
Base class for objects that can be members of a PxCollection.
Definition: PxBase.h:73
Triangle mesh geometry class.
Definition: PxTriangleMeshGeometry.h:82
Convex mesh geometry class.
Definition: PxConvexMeshGeometry.h:80
#define PX_INLINE
Definition: PxPreprocessor.h:336
Class representing the geometry of a box.
Definition: PxBoxGeometry.h:50