31 #ifndef PX_PHYSICS_NXMATERIAL 32 #define PX_PHYSICS_NXMATERIAL 60 eDISABLE_FRICTION = 1 << 0,
80 eDISABLE_STRONG_FRICTION = 1 << 1
139 virtual void release() = 0;
149 virtual PxU32 getReferenceCount()
const = 0;
156 virtual void acquireReference() = 0;
169 virtual void setDynamicFriction(
PxReal coef) = 0;
178 virtual PxReal getDynamicFriction()
const = 0;
191 virtual void setStaticFriction(
PxReal coef) = 0;
199 virtual PxReal getStaticFriction()
const = 0;
212 virtual void setRestitution(
PxReal rest) = 0;
223 virtual PxReal getRestitution()
const = 0;
Definition: GuContactBuffer.h:37
PX_INLINE PxMaterial(PxBaseFlags baseFlags)
Definition: PxMaterial.h:313
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:314
PxU16 PxType
Definition: PxBase.h:49
PxFlags< PxMaterialFlag::Enum, PxU16 > PxMaterialFlags
collection of set bits defined in PxMaterialFlag.
Definition: PxMaterial.h:89
enumeration that determines the way in which two material properties will be combined to yield a fric...
Definition: PxMaterial.h:112
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxMaterial.h:315
Enum
Definition: PxMaterial.h:114
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition: PxMaterial.h:309
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:307
Material class to represent a set of surface properties.
Definition: PxMaterial.h:130
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:349
PX_INLINE PxMaterial(PxType concreteType, PxBaseFlags baseFlags)
Definition: PxMaterial.h:312