29#ifndef PX_HEIGHTFIELD_DESC_H
30#define PX_HEIGHTFIELD_DESC_H
35#include "common/PxPhysXCommonConfig.h"
36#include "geometry/PxHeightFieldFlag.h"
37#include "common/PxCoreUtilityTypes.h"
Descriptor class for #PxHeightField.
Definition PxHeightFieldDesc.h:53
PxU32 nbColumns
Number of sample columns in the height field samples array.
Definition PxHeightFieldDesc.h:74
PX_INLINE PxHeightFieldDesc()
Constructor sets to default.
Definition PxHeightFieldDesc.h:149
PxU32 nbRows
Number of sample rows in the height field samples array.
Definition PxHeightFieldDesc.h:64
PX_INLINE bool isValid() const
Returns true if the descriptor is valid.
Definition PxHeightFieldDesc.h:163
PxStridedData samples
The samples array.
Definition PxHeightFieldDesc.h:105
PX_INLINE void setToDefault()
(re)sets the structure to the default.
Definition PxHeightFieldDesc.h:158
PxHeightFieldFlags flags
Flags bits, combined from values of the enum ::PxHeightFieldFlag.
Definition PxHeightFieldDesc.h:130
PxHeightFieldFormat::Enum format
Format of the sample data.
Definition PxHeightFieldDesc.h:85
PxReal convexEdgeThreshold
Definition PxHeightFieldDesc.h:121
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
PxFlags< PxHeightFieldFlag::Enum, PxU16 > PxHeightFieldFlags
collection of set bits defined in PxHeightFieldFlag.
Definition PxHeightFieldFlag.h:152
@ eNO_BOUNDARY_EDGES
Disable collisions with height field with boundary edges.
Definition PxHeightFieldFlag.h:143
Definition PxCoreUtilityTypes.h:45
PxU32 stride
The offset in bytes between consecutive samples in the data.
Definition PxCoreUtilityTypes.h:51