31 #ifndef PX_COLLISION_NXHEIGHTFIELDDESC 32 #define PX_COLLISION_NXHEIGHTFIELDDESC 156 convexEdgeThreshold = 0.0f;
173 if (samples.stride < 4)
175 if (convexEdgeThreshold < 0)
Definition: GuContactBuffer.h:37
PX_INLINE PxHeightFieldDesc()
Constructor sets to default.
Definition: PxHeightFieldDesc.h:151
Disable collisions with height field with boundary edges.
Definition: PxHeightFieldFlag.h:145
float PxReal
Definition: PxSimpleTypes.h:78
PxReal convexEdgeThreshold
Definition: PxHeightFieldDesc.h:123
Descriptor class for PxHeightField.
Definition: PxHeightFieldDesc.h:54
PxHeightFieldFlags flags
Flags bits, combined from values of the enum PxHeightFieldFlag.
Definition: PxHeightFieldDesc.h:132
PX_INLINE void setToDefault()
(re)sets the structure to the default.
Definition: PxHeightFieldDesc.h:160
PxU32 nbColumns
Number of sample columns in the height field samples array.
Definition: PxHeightFieldDesc.h:76
PxU32 nbRows
Number of sample rows in the height field samples array.
Definition: PxHeightFieldDesc.h:66
PxFlags< PxHeightFieldFlag::Enum, PxU16 > PxHeightFieldFlags
collection of set bits defined in PxHeightFieldFlag.
Definition: PxHeightFieldFlag.h:154
PxU16 flags
a set of Px1DConstraintFlags
Definition: PxConstraintDesc.h:110
Definition: PxCoreUtilityTypes.h:46
uint32_t PxU32
Definition: Px.h:48
#define PX_INLINE
Definition: PxPreprocessor.h:349
PxHeightFieldFormat::Enum format
Format of the sample data.
Definition: PxHeightFieldDesc.h:87
PX_INLINE bool isValid() const
Returns true if the descriptor is valid.
Definition: PxHeightFieldDesc.h:165
PxStridedData samples
The samples array.
Definition: PxHeightFieldDesc.h:107