PxBase
Defined in include/common/PxBase.h
-
class PxBase
Base class for objects that can be members of a PxCollection.
All PxBase sub-classes can be serialized.
See also
Subclassed by PxActor, PxAggregate, PxArticulationAttachment, PxArticulationJointReducedCoordinate, PxArticulationMimicJoint, PxArticulationReducedCoordinate, PxArticulationTendon, PxArticulationTendonJoint, PxBVH, PxConstraint, PxJoint, PxParticleBuffer, PxPruningStructure, PxRefCounted
Public Functions
-
virtual void release() = 0
Releases the PxBase instance, please check documentation of release in derived class.
-
virtual const char *getConcreteTypeName() const = 0
Returns string name of dynamic type.
- Returns
Class name of most derived type of this object.
-
inline PxType getConcreteType() const
Returns concrete type of object.
See also
- Returns
PxConcreteType::Enum of serialized object
-
inline void setBaseFlag(PxBaseFlag::Enum flag, bool value)
Set PxBaseFlag
- Parameters
flag – [in] The flag to be set
value – [in] The flags new value
-
inline void setBaseFlags(PxBaseFlags inFlags)
Set PxBaseFlags
See also
PxBaseFlags
- Parameters
inFlags – [in] The flags to be set
-
inline PxBaseFlags getBaseFlags() const
Returns PxBaseFlags.
See also
PxBaseFlags
- Returns
PxBaseFlags
-
inline virtual bool isReleasable() const
Whether the object is subordinate.
A class is subordinate, if it can only be instantiated in the context of another class.
See also
- Returns
Whether the class is subordinate
Protected Functions
-
inline PxBase(PxType concreteType, PxBaseFlags baseFlags)
Constructor setting concrete type and base flags.
-
inline PxBase(PxBaseFlags baseFlags)
Deserialization constructor setting base flags.
-
inline virtual ~PxBase()
Destructor.
-
inline virtual bool isKindOf(const char *superClass) const
Returns whether a given type name matches with the type of this instance.
-
template<class T>
inline bool typeMatch() const
-
virtual void release() = 0