PxHeightFieldTessFlag

Defined in include/geometry/PxHeightFieldFlag.h

struct PxHeightFieldTessFlag

Determines the tessellation of height field cells.

See also

PxHeightFieldDesc.format PxHeightFieldDesc.samples

Public Types

enum Enum

Values:

enumerator e0TH_VERTEX_SHARED

This flag determines which way each quad cell is subdivided.

The flag lowered indicates subdivision like this: (the 0th vertex is referenced by only one triangle)

../_images/heightfieldTriMat2.PNG

The flag raised indicates subdivision like this: (the 0th vertex is shared by two triangles)

../_images/heightfieldTriMat1.PNG

See also

PxHeightFieldDesc.format PxHeightFieldDesc.samples