|
RavEngine
|
Public Member Functions | |
| NpPBDMaterial (PxBaseFlags baseFlags) | |
| virtual void | resolveReferences (PxDeserializationContext &context) |
| void | preExportDataReset () |
| void | exportExtraData (PxSerializationContext &) |
| void | importExtraData (PxDeserializationContext &) |
| virtual void | requiresObjects (PxProcessPxBaseCallback &) |
| NpPBDMaterial (const PxsPBDMaterialCore &desc) | |
| virtual void | release () PX_OVERRIDE |
| Decrements the reference count of the object and releases it if the new reference count is zero. | |
| virtual void | acquireReference () PX_OVERRIDE |
| Acquires a counted reference to this object. | |
| virtual PxU32 | getReferenceCount () const PX_OVERRIDE |
| Returns the reference count of the object. | |
| virtual void | onRefCountZero () PX_OVERRIDE |
| virtual void | setFriction (PxReal friction) PX_OVERRIDE |
| Sets friction. | |
| virtual PxReal | getFriction () const PX_OVERRIDE |
| Retrieves the friction value. | |
| virtual void | setDamping (PxReal damping) PX_OVERRIDE |
| Sets velocity damping term. | |
| virtual PxReal | getDamping () const PX_OVERRIDE |
| Retrieves the velocity damping term. | |
| virtual void | setAdhesion (PxReal adhesion) PX_OVERRIDE |
| Sets adhesion term. | |
| virtual PxReal | getAdhesion () const PX_OVERRIDE |
| Retrieves the adhesion term. | |
| virtual void | setGravityScale (PxReal scale) PX_OVERRIDE |
| Sets gravity scale term. | |
| virtual PxReal | getGravityScale () const PX_OVERRIDE |
| Retrieves the gravity scale term. | |
| virtual void | setAdhesionRadiusScale (PxReal scale) PX_OVERRIDE |
| 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 PX_OVERRIDE |
| Retrieves the adhesion radius scale. | |
| virtual void | setViscosity (PxReal viscosity) PX_OVERRIDE |
| Sets viscosity. | |
| virtual PxReal | getViscosity () const PX_OVERRIDE |
| Retrieves the viscosity value. | |
| virtual void | setVorticityConfinement (PxReal vorticityConfinement) PX_OVERRIDE |
| Sets material vorticity confinement coefficient. | |
| virtual PxReal | getVorticityConfinement () const PX_OVERRIDE |
| Retrieves the vorticity confinement coefficient. | |
| virtual void | setSurfaceTension (PxReal surfaceTension) PX_OVERRIDE |
| Sets material surface tension coefficient. | |
| virtual PxReal | getSurfaceTension () const PX_OVERRIDE |
| Retrieves the surface tension coefficient. | |
| virtual void | setCohesion (PxReal cohesion) PX_OVERRIDE |
| Sets material cohesion coefficient. | |
| virtual PxReal | getCohesion () const PX_OVERRIDE |
| Retrieves the cohesion coefficient. | |
| virtual void | setLift (PxReal lift) PX_OVERRIDE |
| Sets material lift coefficient. | |
| virtual PxReal | getLift () const PX_OVERRIDE |
| Retrieves the lift coefficient. | |
| virtual void | setDrag (PxReal drag) PX_OVERRIDE |
| Sets material drag coefficient. | |
| virtual PxReal | getDrag () const PX_OVERRIDE |
| Retrieves the drag coefficient. | |
| virtual void | setCFLCoefficient (PxReal coefficient) PX_OVERRIDE |
| Sets the CFL coefficient. | |
| virtual PxReal | getCFLCoefficient () const PX_OVERRIDE |
| Retrieves the CFL coefficient. | |
| virtual void | setParticleFrictionScale (PxReal scale) PX_OVERRIDE |
| 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 PX_OVERRIDE |
| Retrieves the particle friction scale. | |
| virtual void | setParticleAdhesionScale (PxReal adhesion) PX_OVERRIDE |
| 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 PX_OVERRIDE |
| Retrieves the particle adhesion scale value. | |
Public Member Functions inherited from physx::PxPBDMaterial | |
| virtual const char * | getConcreteTypeName () const |
| Returns string name of dynamic type. | |
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::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. | |
Public Member Functions inherited from physx::PxUserAllocated | |
| PX_INLINE void * | operator new (size_t, void *address) |
| PX_INLINE void | operator delete (void *, void *) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new (size_t size, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new[] (size_t size, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void | operator delete (void *ptr, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void | operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line) |
| PX_INLINE void | operator delete (void *ptr) |
| PX_INLINE void | operator delete[] (void *ptr) |
Static Public Member Functions | |
| static NpPBDMaterial * | createObject (PxU8 *&address, PxDeserializationContext &context) |
| static void | getBinaryMetaData (PxOutputStream &stream) |
| static PX_FORCE_INLINE void | getMaterialIndices (NpPBDMaterial *const *materials, PxU16 *materialIndices, PxU32 materialCount) |
Public Attributes | |
| PxsPBDMaterialCore | mMaterial |
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. | |
Additional Inherited Members | |
Protected Member Functions inherited from physx::PxPBDMaterial | |
| 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 | |
| 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 |
Protected Attributes inherited from physx::PxBase | |
| PxType | mConcreteType |
| PxBaseFlags | mBaseFlags |
| PxU32 | mBuiltInRefCount |
|
virtual |
Acquires a counted reference to this object.
This method increases the reference count of the object by 1. Decrement the reference count by calling release()
Implements physx::PxRefCounted.
|
virtual |
Retrieves the adhesion term.
Implements physx::PxParticleMaterial.
|
virtual |
Retrieves the adhesion radius scale.
Implements physx::PxParticleMaterial.
|
virtual |
Retrieves the CFL coefficient.
Implements physx::PxPBDMaterial.
|
virtual |
Retrieves the cohesion coefficient.
Implements physx::PxPBDMaterial.
|
virtual |
Retrieves the velocity damping term.
Implements physx::PxParticleMaterial.
|
virtual |
Retrieves the drag coefficient.
Implements physx::PxPBDMaterial.
|
virtual |
Retrieves the friction value.
Implements physx::PxParticleMaterial.
|
virtual |
Retrieves the gravity scale term.
Implements physx::PxParticleMaterial.
|
virtual |
Retrieves the lift coefficient.
Implements physx::PxPBDMaterial.
|
virtual |
Retrieves the particle adhesion scale value.
Implements physx::PxPBDMaterial.
|
virtual |
Retrieves the particle friction scale.
Implements physx::PxPBDMaterial.
|
virtual |
Returns the reference count of the object.
At creation, the reference count of the object is 1. Every other object referencing this object increments the count by 1. When the reference count reaches 0, and only then, the object gets destroyed automatically.
Implements physx::PxRefCounted.
|
virtual |
Retrieves the surface tension coefficient.
Implements physx::PxPBDMaterial.
|
virtual |
Retrieves the viscosity value.
Implements physx::PxPBDMaterial.
|
virtual |
Retrieves the vorticity confinement coefficient.
Implements physx::PxPBDMaterial.
|
virtual |
Reimplemented from physx::PxRefCounted.
|
virtual |
Decrements the reference count of the object and releases it if the new reference count is zero.
Implements physx::PxRefCounted.
|
virtual |
Sets adhesion term.
| [in] | adhesion | adhesion coefficient. Range: [0, PX_MAX_F32) |
Implements physx::PxParticleMaterial.
|
virtual |
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.
| [in] | scale | Material adhesion radius scale. Range: [0, PX_MAX_F32) |
Implements physx::PxParticleMaterial.
|
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) |
Implements physx::PxPBDMaterial.
|
virtual |
Sets material cohesion coefficient.
| [in] | cohesion | Material cohesion coefficient. Range: [0, PX_MAX_F32) |
Implements physx::PxPBDMaterial.
|
virtual |
Sets velocity damping term.
| [in] | damping | Velocity damping term. Range: [0, PX_MAX_F32) |
Implements physx::PxParticleMaterial.
|
virtual |
Sets material drag coefficient.
| [in] | drag | Material drag coefficient. Range: [0, PX_MAX_F32) |
Implements physx::PxPBDMaterial.
|
virtual |
Sets friction.
| [in] | friction | Friction. Range: [0, PX_MAX_F32) |
Implements physx::PxParticleMaterial.
|
virtual |
Sets gravity scale term.
| [in] | scale | gravity scale coefficient. Range: (-PX_MAX_F32, PX_MAX_F32) |
Implements physx::PxParticleMaterial.
|
virtual |
Sets material lift coefficient.
| [in] | lift | Material lift coefficient. Range: [0, PX_MAX_F32) |
Implements physx::PxPBDMaterial.
|
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) |
Implements physx::PxPBDMaterial.
|
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) |
Implements physx::PxPBDMaterial.
|
virtual |
Sets material surface tension coefficient.
| [in] | surfaceTension | Material surface tension coefficient. Range: [0, PX_MAX_F32) |
Implements physx::PxPBDMaterial.
|
virtual |
Sets viscosity.
| [in] | viscosity | Viscosity. Range: [0, PX_MAX_F32) |
Implements physx::PxPBDMaterial.
|
virtual |
Sets material vorticity confinement coefficient.
| [in] | vorticityConfinement | Material vorticity confinement coefficient. Range: [0, PX_MAX_F32) |
Implements physx::PxPBDMaterial.