RavEngine
Loading...
Searching...
No Matches
physx::PxSoftBodyAuxData Class Referenceabstract

A data container providing mass, rest pose and other information required for softbody simulation. More...

#include <PxTetrahedronMesh.h>

Inheritance diagram for physx::PxSoftBodyAuxData:
[legend]
Collaboration diagram for physx::PxSoftBodyAuxData:
[legend]

Public Member Functions

virtual void release ()=0
 Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is zero.
 
- Public Member Functions inherited from physx::PxRefCounted
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
virtual const char * getConcreteTypeName () const =0
 Returns string name of dynamic type.
 
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 PxSoftBodyAuxData (PxType concreteType, PxBaseFlags baseFlags)
 
PX_INLINE PxSoftBodyAuxData (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::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

- Protected Attributes inherited from physx::PxBase
PxType mConcreteType
 
PxBaseFlags mBaseFlags
 
PxU32 mBuiltInRefCount
 

Detailed Description

A data container providing mass, rest pose and other information required for softbody simulation.

Stores properties of softbody like inverse mass per node, rest pose matrix per tetrahedral element etc. Mainly used internally to store runtime data.

Member Function Documentation

◆ isKindOf()

virtual bool physx::PxSoftBodyAuxData::isKindOf ( const char *  superClass) const
inlineprotectedvirtual

Returns whether a given type name matches with the type of this instance.

Reimplemented from physx::PxRefCounted.

◆ release()

virtual void physx::PxSoftBodyAuxData::release ( )
pure virtual

Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is zero.

See also
PxPhysics.createTetrahedronMesh()

Implements physx::PxRefCounted.

Implemented in physx::Gu::SoftBodyAuxData.


The documentation for this class was generated from the following file: