PxBoxControllerDesc Class Reference

Descriptor for a box character controller. More...

#include <PxBoxController.h>

Inheritance diagram for PxBoxControllerDesc:
Collaboration diagram for PxBoxControllerDesc:

Public Member Functions

PX_INLINE PxBoxControllerDesc ()
 constructor sets to default. More...
 
virtual PX_INLINE ~PxBoxControllerDesc ()
 
PX_INLINE PxBoxControllerDesc (const PxBoxControllerDesc &)
 copy constructor. More...
 
PX_INLINE PxBoxControllerDescoperator= (const PxBoxControllerDesc &)
 assignment operator. More...
 
virtual PX_INLINE void setToDefault ()
 (re)sets the structure to the default. More...
 
virtual PX_INLINE bool isValid () const
 returns true if the current settings are valid More...
 
- Public Member Functions inherited from PxControllerDesc
PX_INLINE PxControllerShapeType::Enum getType () const
 Returns the character controller type. More...
 

Public Attributes

PxF32 halfHeight
 Half height. More...
 
PxF32 halfSideExtent
 Half side extent. More...
 
PxF32 halfForwardExtent
 Half forward extent. More...
 
- Public Attributes inherited from PxControllerDesc
PxExtendedVec3 position
 The position of the character. More...
 
PxVec3 upDirection
 Specifies the 'up' direction. More...
 
PxF32 slopeLimit
 The maximum slope which the character can walk up. More...
 
PxF32 invisibleWallHeight
 Height of invisible walls created around non-walkable triangles. More...
 
PxF32 maxJumpHeight
 Maximum height a jumping character can reach. More...
 
PxF32 contactOffset
 The contact offset used by the controller. More...
 
PxF32 stepOffset
 Defines the maximum height of an obstacle which the character can climb. More...
 
PxF32 density
 Density of underlying kinematic actor. More...
 
PxF32 scaleCoeff
 Scale coefficient for underlying kinematic actor. More...
 
PxF32 volumeGrowth
 Cached volume growth. More...
 
PxUserControllerHitReportreportCallback
 Specifies a user report callback. More...
 
PxControllerBehaviorCallbackbehaviorCallback
 Specifies a user behavior callback. More...
 
PxControllerNonWalkableMode::Enum nonWalkableMode
 The non-walkable mode controls if a character controller slides or not on a non-walkable part. More...
 
PxMaterialmaterial
 The material for the actor associated with the controller. More...
 
bool registerDeletionListener
 Use a deletion listener to get informed about released objects and clear internal caches if needed. More...
 
void * userData
 User specified data associated with the controller. More...
 

Protected Member Functions

PX_INLINE void copy (const PxBoxControllerDesc &)
 
- Protected Member Functions inherited from PxControllerDesc
PX_INLINE PxControllerDesc (PxControllerShapeType::Enum)
 constructor sets to default. More...
 
virtual PX_INLINE ~PxControllerDesc ()
 
PX_INLINE PxControllerDesc (const PxControllerDesc &)
 copy constructor. More...
 
PX_INLINE PxControllerDescoperator= (const PxControllerDesc &)
 assignment operator. More...
 
PX_INLINE void copy (const PxControllerDesc &)
 

Additional Inherited Members

- Protected Attributes inherited from PxControllerDesc
const PxControllerShapeType::Enum mType
 The type of the controller. This gets set by the derived class' ctor, the user should not have to change it. More...
 

Detailed Description

Descriptor for a box character controller.

See also
PxBoxController PxControllerDesc

Constructor & Destructor Documentation

◆ ~PxBoxControllerDesc()

virtual PX_INLINE PxBoxControllerDesc::~PxBoxControllerDesc ( )
inlinevirtual

Member Data Documentation

◆ halfForwardExtent

PxF32 PxBoxControllerDesc::halfForwardExtent

Half forward extent.

Default: 0.5

Referenced by copy(), and isValid().

◆ halfHeight

PxF32 PxBoxControllerDesc::halfHeight

Half height.

Default: 1.0

Referenced by copy(), and isValid().

◆ halfSideExtent

PxF32 PxBoxControllerDesc::halfSideExtent

Half side extent.

Default: 0.5

Referenced by copy(), and isValid().


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