Table of Contents

Method GetHeightFieldHeightSpan

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

GetHeightFieldHeightSpan(b3HeightFieldData*)

Gets the compressed heights of a height field as a span.

public static ReadOnlySpan<ushort> GetHeightFieldHeightSpan(b3HeightFieldData* hf)

Parameters

hf b3HeightFieldData*

The height field.

Returns

ReadOnlySpan<ushort>

The heights, borrowed from the height field.