|
RavEngine
|
Material class to represent a set of PBD particle material properties. More...
#include <PxPBDMaterial.h>
Public Member Functions | |
| virtual void | setViscosity (PxReal viscosity)=0 |
| Sets viscosity. | |
| virtual PxReal | getViscosity () const =0 |
| Retrieves the viscosity value. | |
| virtual void | setVorticityConfinement (PxReal vorticityConfinement)=0 |
| Sets material vorticity confinement coefficient. | |
| virtual PxReal | getVorticityConfinement () const =0 |
| Retrieves the vorticity confinement coefficient. | |
| virtual void | setSurfaceTension (PxReal surfaceTension)=0 |
| Sets material surface tension coefficient. | |
| virtual PxReal | getSurfaceTension () const =0 |
| Retrieves the surface tension coefficient. | |
| virtual void | setCohesion (PxReal cohesion)=0 |
| Sets material cohesion coefficient. | |
| virtual PxReal | getCohesion () const =0 |
| Retrieves the cohesion coefficient. | |
| virtual void | setLift (PxReal lift)=0 |
| Sets material lift coefficient. | |
| virtual PxReal | getLift () const =0 |
| Retrieves the lift coefficient. | |
| virtual void | setDrag (PxReal drag)=0 |
| Sets material drag coefficient. | |
| virtual PxReal | getDrag () const =0 |
| Retrieves the drag coefficient. | |
| virtual void | setCFLCoefficient (PxReal coefficient)=0 |
| Sets the CFL coefficient. | |
| virtual PxReal | getCFLCoefficient () const =0 |
| Retrieves the CFL coefficient. | |
| virtual void | setParticleFrictionScale (PxReal scale)=0 |
| Sets material particle friction scale. This allows the application to scale up/down the frictional effect between particles independent of the friction coefficient, which also defines frictional behavior between the particle and rigid bodies/soft bodies/cloth etc. | |
| virtual PxReal | getParticleFrictionScale () const =0 |
| Retrieves the particle friction scale. | |
| virtual void | setParticleAdhesionScale (PxReal adhesion)=0 |
| Sets material particle adhesion scale value. This is the adhesive value between particles defined as a scaled multiple of the adhesion parameter. | |
| virtual PxReal | getParticleAdhesionScale () const =0 |
| Retrieves the particle adhesion scale value. | |
| virtual const char * | getConcreteTypeName () const |
| Returns string name of dynamic type. | |
Public Member Functions inherited from physx::PxParticleMaterial | |
| virtual void | setFriction (PxReal friction)=0 |
| Sets friction. | |
| virtual PxReal | getFriction () const =0 |
| Retrieves the friction value. | |
| virtual void | setDamping (PxReal damping)=0 |
| Sets velocity damping term. | |
| virtual PxReal | getDamping () const =0 |
| Retrieves the velocity damping term. | |
| virtual void | setAdhesion (PxReal adhesion)=0 |
| Sets adhesion term. | |
| virtual PxReal | getAdhesion () const =0 |
| Retrieves the adhesion term. | |
| virtual void | setGravityScale (PxReal scale)=0 |
| Sets gravity scale term. | |
| virtual PxReal | getGravityScale () const =0 |
| Retrieves the gravity scale term. | |
| virtual void | setAdhesionRadiusScale (PxReal scale)=0 |
| Sets material adhesion radius scale. This is multiplied by the particle rest offset to compute the fall-off distance at which point adhesion ceases to operate. | |
| virtual PxReal | getAdhesionRadiusScale () const =0 |
| Retrieves the adhesion radius scale. | |
Public Member Functions inherited from physx::PxBaseMaterial | |
| PX_INLINE | PxBaseMaterial (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxBaseMaterial (PxBaseFlags baseFlags) |
Public Member Functions inherited from physx::PxRefCounted | |
| virtual void | release ()=0 |
| Decrements the reference count of the object and releases it if the new reference count is zero. | |
| virtual PxU32 | getReferenceCount () const =0 |
| Returns the reference count of the object. | |
| virtual void | acquireReference ()=0 |
| Acquires a counted reference to this object. | |
Public Member Functions inherited from physx::PxBase | |
| template<class T > | |
| T * | is () |
| template<class T > | |
| const T * | is () const |
| PX_FORCE_INLINE PxType | getConcreteType () const |
| Returns concrete type of object. | |
| PX_FORCE_INLINE void | setBaseFlag (PxBaseFlag::Enum flag, bool value) |
| Set PxBaseFlag | |
| PX_FORCE_INLINE void | setBaseFlags (PxBaseFlags inFlags) |
| Set PxBaseFlags | |
| PX_FORCE_INLINE PxBaseFlags | getBaseFlags () const |
| Returns PxBaseFlags. | |
| virtual bool | isReleasable () const |
| Whether the object is subordinate. | |
Protected Member Functions | |
| PX_INLINE | PxPBDMaterial (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxPBDMaterial (PxBaseFlags baseFlags) |
| virtual bool | isKindOf (const char *name) const |
| Returns whether a given type name matches with the type of this instance. | |
Protected Member Functions inherited from physx::PxParticleMaterial | |
| PX_INLINE | PxParticleMaterial (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxParticleMaterial (PxBaseFlags baseFlags) |
Protected Member Functions inherited from physx::PxRefCounted | |
| virtual void | onRefCountZero () |
| PX_INLINE | PxRefCounted (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxRefCounted (PxBaseFlags baseFlags) |
Protected Member Functions inherited from physx::PxBase | |
| 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 |
Additional Inherited Members | |
Public Attributes inherited from physx::PxBaseMaterial | |
| void * | userData |
| user can assign this to whatever, usually to create a 1:1 relationship with a user object. | |
Protected Attributes inherited from physx::PxBase | |
| PxType | mConcreteType |
| PxBaseFlags | mBaseFlags |
| PxU32 | mBuiltInRefCount |
Material class to represent a set of PBD particle material properties.
|
pure virtual |
Retrieves the CFL coefficient.
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Retrieves the cohesion coefficient.
Implemented in physx::NpPBDMaterial.
|
inlinevirtual |
Returns string name of dynamic type.
Implements physx::PxBase.
|
pure virtual |
Retrieves the drag coefficient.
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Retrieves the lift coefficient.
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Retrieves the particle adhesion scale value.
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Retrieves the particle friction scale.
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Retrieves the surface tension coefficient.
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Retrieves the viscosity value.
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Retrieves the vorticity confinement coefficient.
Implemented in physx::NpPBDMaterial.
|
inlineprotectedvirtual |
Returns whether a given type name matches with the type of this instance.
Reimplemented from physx::PxParticleMaterial.
|
pure virtual |
Sets the CFL coefficient.
| [in] | coefficient | CFL coefficient. This coefficient scales the CFL term used to limit relative motion between fluid particles. Range: [1.f, PX_MAX_F32) |
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Sets material cohesion coefficient.
| [in] | cohesion | Material cohesion coefficient. Range: [0, PX_MAX_F32) |
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Sets material drag coefficient.
| [in] | drag | Material drag coefficient. Range: [0, PX_MAX_F32) |
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Sets material lift coefficient.
| [in] | lift | Material lift coefficient. Range: [0, PX_MAX_F32) |
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Sets material particle adhesion scale value. This is the adhesive value between particles defined as a scaled multiple of the adhesion parameter.
| [in] | adhesion | particle adhesion scale value. Range: [0, PX_MAX_F32) |
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Sets material particle friction scale. This allows the application to scale up/down the frictional effect between particles independent of the friction coefficient, which also defines frictional behavior between the particle and rigid bodies/soft bodies/cloth etc.
| [in] | scale | particle friction scale. Range: [0, PX_MAX_F32) |
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Sets material surface tension coefficient.
| [in] | surfaceTension | Material surface tension coefficient. Range: [0, PX_MAX_F32) |
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Sets viscosity.
| [in] | viscosity | Viscosity. Range: [0, PX_MAX_F32) |
Implemented in physx::NpPBDMaterial.
|
pure virtual |
Sets material vorticity confinement coefficient.
| [in] | vorticityConfinement | Material vorticity confinement coefficient. Range: [0, PX_MAX_F32) |
Implemented in physx::NpPBDMaterial.