Table of Contents

Method b3GetHeightFieldMaterialIndices

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

b3GetHeightFieldMaterialIndices(b3HeightFieldData*)

Gets the per-cell material indices of a height field.

public static byte* b3GetHeightFieldMaterialIndices(b3HeightFieldData* hf)

Parameters

hf b3HeightFieldData*

The height field.

Returns

byte*

A pointer to the array, or null when the height field has none.

Remarks

One entry per cell. The value Box3D.Native.Constants.B3_HEIGHT_FIELD_HOLE marks a hole.