31 #ifndef PX_PHYSICS_NXMATERIAL 32 #define PX_PHYSICS_NXMATERIAL 60 eDISABLE_FRICTION = 1 << 0,
80 eDISABLE_STRONG_FRICTION = 1 << 1,
93 eIMPROVED_PATCH_FRICTION = 1 << 2
152 virtual void release() = 0;
162 virtual PxU32 getReferenceCount()
const = 0;
169 virtual void acquireReference() = 0;
182 virtual void setDynamicFriction(
PxReal coef) = 0;
191 virtual PxReal getDynamicFriction()
const = 0;
204 virtual void setStaticFriction(
PxReal coef) = 0;
212 virtual PxReal getStaticFriction()
const = 0;
225 virtual void setRestitution(
PxReal rest) = 0;
236 virtual PxReal getRestitution()
const = 0;
Definition: GuContactBuffer.h:37
PX_INLINE PxMaterial(PxBaseFlags baseFlags)
Definition: PxMaterial.h:337
A scene is a collection of bodies and constraints which can interact.
Definition: PxScene.h:169
float PxReal
Definition: PxSimpleTypes.h:78
virtual bool isKindOf(const char *superClass) const
Returns whether a given type name matches with the type of this instance.
Definition: PxBase.h:178
virtual ~PxMaterial()
Definition: PxMaterial.h:338
PxU16 PxType
Definition: PxBase.h:49
PxFlags< PxMaterialFlag::Enum, PxU16 > PxMaterialFlags
collection of set bits defined in PxMaterialFlag.
Definition: PxMaterial.h:102
enumeration that determines the way in which two material properties will be combined to yield a fric...
Definition: PxMaterial.h:125
PxU16 flags
a set of Px1DConstraintFlags
Definition: PxConstraintDesc.h:110
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxMaterial.h:339
Enum
Definition: PxMaterial.h:127
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition: PxMaterial.h:333
Flags which control the behavior of a material.
Definition: PxMaterial.h:52
void * userData
user can assign this to whatever, usually to create a 1:1 relationship with a user object...
Definition: PxMaterial.h:331
Material class to represent a set of surface properties.
Definition: PxMaterial.h:143
Enum
Definition: PxMaterial.h:54
Container for bitfield flag variables associated with a specific enum type.
Definition: PxFlags.h:73
uint16_t PxU16
Definition: PxSimpleTypes.h:73
uint32_t PxU32
Definition: Px.h:48
Base class for objects that can be members of a PxCollection.
Definition: PxBase.h:73
#define PX_INLINE
Definition: PxPreprocessor.h:336
PX_INLINE PxMaterial(PxType concreteType, PxBaseFlags baseFlags)
Definition: PxMaterial.h:336