Material class to represent a set of FEM material properties.
More...
#include <PxFEMMaterial.h>
|
|
PX_INLINE | PxFEMMaterial (PxType concreteType, PxBaseFlags baseFlags) |
| |
|
PX_INLINE | PxFEMMaterial (PxBaseFlags baseFlags) |
| |
| virtual bool | isKindOf (const char *name) const |
| | Returns whether a given type name matches with the type of this instance.
|
| |
|
virtual void | onRefCountZero () |
| |
|
PX_INLINE | PxRefCounted (PxType concreteType, PxBaseFlags baseFlags) |
| |
|
PX_INLINE | PxRefCounted (PxBaseFlags baseFlags) |
| |
|
PX_INLINE | PxBase (PxType concreteType, PxBaseFlags baseFlags) |
| | Constructor setting concrete type and base flags.
|
| |
|
PX_INLINE | PxBase (PxBaseFlags baseFlags) |
| | Deserialization constructor setting base flags.
|
| |
|
virtual | ~PxBase () |
| | Destructor.
|
| |
|
template<class T > |
| bool | typeMatch () const |
| |
|
|
void * | userData |
| | user can assign this to whatever, usually to create a 1:1 relationship with a user object.
|
| |
|
PxType | mConcreteType |
| |
|
PxBaseFlags | mBaseFlags |
| |
|
PxU32 | mBuiltInRefCount |
| |
Material class to represent a set of FEM material properties.
- See also
- PxPhysics.createFEMSoftBodyMaterial
◆ getDynamicFriction()
| virtual PxReal physx::PxFEMMaterial::getDynamicFriction |
( |
| ) |
const |
|
pure virtual |
◆ getPoissons()
| virtual PxReal physx::PxFEMMaterial::getPoissons |
( |
| ) |
const |
|
pure virtual |
◆ getYoungsModulus()
| virtual PxReal physx::PxFEMMaterial::getYoungsModulus |
( |
| ) |
const |
|
pure virtual |
◆ isKindOf()
| virtual bool physx::PxFEMMaterial::isKindOf |
( |
const char * |
superClass | ) |
const |
|
inlineprotectedvirtual |
◆ setDynamicFriction()
| virtual void physx::PxFEMMaterial::setDynamicFriction |
( |
PxReal |
dynamicFriction | ) |
|
|
pure virtual |
Sets the dynamic friction value which defines the strength of resistance when two objects slide relative to each other while in contact.
- Parameters
-
| [in] | dynamicFriction | The dynamic friction value. Range: [0, PX_MAX_F32) |
- See also
- getDynamicFriction()
Implemented in physx::NpFEMSoftBodyMaterial.
◆ setPoissons()
| virtual void physx::PxFEMMaterial::setPoissons |
( |
PxReal |
poisson | ) |
|
|
pure virtual |
Sets the Poisson's ratio which defines the body's volume preservation. Completely incompressible materials have a poisson ratio of 0.5. Its value should not be set to exactly 0.5 because this leads to numerical problems.
- Parameters
-
| [in] | poisson | Poisson's ratio. Range: [0, 0.5) |
- See also
- getPoissons()
Implemented in physx::NpFEMSoftBodyMaterial.
◆ setYoungsModulus()
| virtual void physx::PxFEMMaterial::setYoungsModulus |
( |
PxReal |
young | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: