PxMidphaseDesc Class Reference

Structure describing parameters affecting midphase mesh structure. More...

#include <PxMidphaseDesc.h>

Collaboration diagram for PxMidphaseDesc:

Public Member Functions

PX_FORCE_INLINE PxMidphaseDesc ()
 
PX_FORCE_INLINE PxMeshMidPhase::Enum getType () const
 Returns type of midphase mesh structure. More...
 
void setToDefault (PxMeshMidPhase::Enum type)
 Initialize the midphase mesh structure descriptor. More...
 
bool isValid () const
 Returns true if the descriptor is valid. More...
 
PX_FORCE_INLINE PxMidphaseDescoperator= (PxMeshMidPhase::Enum descType)
 

Public Attributes

union {
   PxBVH33MidphaseDesc   mBVH33Desc
 
   PxBVH34MidphaseDesc   mBVH34Desc
 
}; 
 Midphase descriptors union. More...
 

Protected Attributes

PxMeshMidPhase::Enum mType
 

Detailed Description

Structure describing parameters affecting midphase mesh structure.

See also
PxCookingParams, PxBVH33MidphaseDesc, PxBVH34MidphaseDesc

Constructor & Destructor Documentation

◆ PxMidphaseDesc()

PX_FORCE_INLINE PxMidphaseDesc::PxMidphaseDesc ( )
inline

Member Function Documentation

◆ getType()

PX_FORCE_INLINE PxMeshMidPhase::Enum PxMidphaseDesc::getType ( ) const
inline

Returns type of midphase mesh structure.

Returns
PxMeshMidPhase::Enum
See also
PxMeshMidPhase::Enum

◆ isValid()

bool PxMidphaseDesc::isValid ( ) const
inline

Returns true if the descriptor is valid.

Returns
true if the current settings are valid.

References PxMeshMidPhase::eBVH33, and PxMeshMidPhase::eBVH34.

◆ operator=()

PX_FORCE_INLINE PxMidphaseDesc& PxMidphaseDesc::operator= ( PxMeshMidPhase::Enum  descType)
inline

◆ setToDefault()

void PxMidphaseDesc::setToDefault ( PxMeshMidPhase::Enum  type)
inline

Initialize the midphase mesh structure descriptor.

Parameters
[in]typeMidphase mesh structure descriptor
See also
PxBV33MidphaseDesc, PxBV34MidphaseDesc

References PxMeshMidPhase::eBVH33, and PxMeshMidPhase::eBVH34.

Member Data Documentation

◆ @1

union { ... }

Midphase descriptors union.

See also
PxBV33MidphaseDesc, PxBV34MidphaseDesc

◆ mBVH33Desc

PxBVH33MidphaseDesc PxMidphaseDesc::mBVH33Desc

◆ mBVH34Desc

PxBVH34MidphaseDesc PxMidphaseDesc::mBVH34Desc

◆ mType

PxMeshMidPhase::Enum PxMidphaseDesc::mType
protected

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