PxHeightFieldTessFlag Struct Reference

Determines the tessellation of height field cells. More...

#include <PxHeightFieldFlag.h>

Public Types

enum  Enum { e0TH_VERTEX_SHARED = (1 << 0) }
 

Detailed Description

Determines the tessellation of height field cells.

See also
PxHeightFieldDesc.format PxHeightFieldDesc.samples

Member Enumeration Documentation

◆ Enum

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)

heightfieldTriMat2.PNG
+--+--+--+---> column
| /| /| /|
|/ |/ |/ |
+--+--+--+
| /| /| /|
|/ |/ |/ |
+--+--+--+
|
|
V row

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

heightfieldTriMat1.PNG
+--+--+--+---> column
|\ |\ |\ |
| | | |
+--+--+--+
|\ |\ |\ |
| | | |
+--+--+--+
|
|
V row
See also
PxHeightFieldDesc.format PxHeightFieldDesc.samples

The documentation for this struct was generated from the following file: