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

PxNodeIndex. More...

#include <PxNodeIndex.h>

Public Member Functions

PX_CUDA_CALLABLE PX_FORCE_INLINE PxNodeIndex (PxU32 id, PxU32 articLinkId)
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxNodeIndex (PxU32 id=PX_INVALID_NODE)
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxU32 index () const
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxU32 articulationLinkId () const
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxU32 isArticulation () const
 
PX_CUDA_CALLABLE PX_FORCE_INLINE bool isStaticBody () const
 
PX_CUDA_CALLABLE bool isValid () const
 
PX_CUDA_CALLABLE void setIndices (PxU32 index, PxU32 articLinkId)
 
PX_CUDA_CALLABLE void setIndices (PxU32 index)
 
PX_CUDA_CALLABLE bool operator< (const PxNodeIndex &other) const
 
PX_CUDA_CALLABLE bool operator<= (const PxNodeIndex &other) const
 
PX_CUDA_CALLABLE bool operator== (const PxNodeIndex &other) const
 
PX_CUDA_CALLABLE PxU64 getInd () const
 

Protected Attributes

PxU64 ind
 

Detailed Description

PxNodeIndex.

Node index is the unique index for each actor referenced by the island gen. It contains details like if the actor is an articulation or rigid body. If it is an articulation, the node index also contains the link index of the rigid body within the articulation. Also, it contains information to detect whether the rigid body is static body or not


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