RavEngine
Loading...
Searching...
No Matches
physx::PxMidphaseDesc Class Reference

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

#include <PxMidphaseDesc.h>

Collaboration diagram for physx::PxMidphaseDesc:
[legend]

Public Member Functions

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

Public Attributes

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

Protected Attributes

PxMeshMidPhase::Enum mType
 

Detailed Description

Structure describing parameters affecting midphase mesh structure.

See also
PxCookingParams, PxBVH33MidphaseDesc, PxBVH34MidphaseDesc

Member Function Documentation

◆ getType()

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

Returns type of midphase mesh structure.

Returns
PxMeshMidPhase::Enum
See also
PxMeshMidPhase::Enum

◆ isValid()

bool physx::PxMidphaseDesc::isValid ( ) const
inline

Returns true if the descriptor is valid.

Returns
true if the current settings are valid.

◆ operator=()

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

Assignment operator.

Returns
this

◆ setToDefault()

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

Initialize the midphase mesh structure descriptor.

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

Member Data Documentation

◆ [union]

union { ... } physx::PxMidphaseDesc

Midphase descriptors union.

See also
PxBV33MidphaseDesc, PxBV34MidphaseDesc

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