Table of Contents

Struct b3HeightFieldDef

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

The definition used to build a height field. Mirror of b3HeightFieldDef.

public struct b3HeightFieldDef

Inherited Members

Fields

clockwiseWinding

Whether to use clockwise winding, which flips the field along the y axis.

countX

The number of grid lines along the x axis.

countZ

The number of grid lines along the z axis.

globalMaximumHeight

The maximum height used for quantization, in unscaled space.

globalMinimumHeight

The minimum height used for quantization, in unscaled space.

heights

The grid point heights, with countX * countZ entries.

materialIndices

One material index per cell, with (countX - 1) * (countZ - 1) entries.

scale

The scale of the height field. All components must be positive.