Height field geometry class. More...
#include <PxHeightFieldGeometry.h>


Public Member Functions | |
| PX_INLINE | PxHeightFieldGeometry () |
| PX_INLINE | PxHeightFieldGeometry (PxHeightField *hf, PxMeshGeometryFlags flags, PxReal heightScale_, PxReal rowScale_, PxReal columnScale_) |
| PX_INLINE bool | isValid () const |
| Returns true if the geometry is valid. More... | |
Public Member Functions inherited from PxGeometry | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxGeometryType::Enum | getType () const |
| Returns the type of the geometry. More... | |
Public Attributes | |
| PxHeightField * | heightField |
| The height field data. More... | |
| PxReal | heightScale |
| The scaling factor for the height field in vertical direction (y direction in local space). More... | |
| PxReal | rowScale |
| The scaling factor for the height field in the row direction (x direction in local space). More... | |
| PxReal | columnScale |
| The scaling factor for the height field in the column direction (z direction in local space). More... | |
| PxMeshGeometryFlags | heightFieldFlags |
| Flags to specify some collision properties for the height field. More... | |
| PxPadding< 3 > | paddingFromFlags |
Additional Inherited Members | |
Protected Member Functions inherited from PxGeometry | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxGeometry (PxGeometryType::Enum type) |
Protected Attributes inherited from PxGeometry | |
| PxGeometryType::Enum | mType |
Height field geometry class.
This class allows to create a scaled height field geometry instance.
There is a minimum allowed value for Y and XZ scaling - PX_MIN_HEIGHTFIELD_XZ_SCALE, heightfield creation will fail if XZ value is below this value.
|
inline |
|
inline |
| PxReal PxHeightFieldGeometry::columnScale |
The scaling factor for the height field in the column direction (z direction in local space).
| PxHeightField* PxHeightFieldGeometry::heightField |
The height field data.
| PxMeshGeometryFlags PxHeightFieldGeometry::heightFieldFlags |
Flags to specify some collision properties for the height field.
| PxReal PxHeightFieldGeometry::heightScale |
The scaling factor for the height field in vertical direction (y direction in local space).
| PxPadding<3> PxHeightFieldGeometry::paddingFromFlags |
| PxReal PxHeightFieldGeometry::rowScale |
The scaling factor for the height field in the row direction (x direction in local space).