+#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. | |
Public Attributes | |
| PxHeightField * | heightField |
| The height field data. | |
| PxReal | heightScale |
| The scaling factor for the height field in vertical direction (y direction in local space). | |
| PxReal | rowScale |
| The scaling factor for the height field in the row direction (x direction in local space). | |
| PxReal | columnScale |
| The scaling factor for the height field in the column direction (z direction in local space). | |
| PxMeshGeometryFlags | heightFieldFlags |
| Flags to specify some collision properties for the height field. | |
| PxPadding< 3 > | paddingFromFlags |
| padding for mesh flags. | |
+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.
| PX_INLINE PxHeightFieldGeometry::PxHeightFieldGeometry | +( | ++ | ) | + [inline] |
+
+ +
| PX_INLINE PxHeightFieldGeometry::PxHeightFieldGeometry | +( | +PxHeightField * | +hf, | +|
| + | + | PxMeshGeometryFlags | +flags, | +|
| + | + | PxReal | +heightScale_, | +|
| + | + | PxReal | +rowScale_, | +|
| + | + | PxReal | +columnScale_ | + |
| + | ) | + [inline] |
+
+ +
+
| PxReal PxHeightFieldGeometry::columnScale | +
+The scaling factor for the height field in the column direction (z direction in local space). +
+ +
Referenced by isValid().
+ +| PxHeightField* PxHeightFieldGeometry::heightField | +
+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). +
+ +
Referenced by isValid().
+ +| PxPadding<3> PxHeightFieldGeometry::paddingFromFlags | +
+padding for mesh flags. +
+ +
| PxReal PxHeightFieldGeometry::rowScale | +
+The scaling factor for the height field in the row direction (x direction in local space). +
+ +
Referenced by isValid().
+ ++