UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
rcHeightfield Struct Reference

#include <Recast.h>

Public Attributes

int width
 The width of the heightfield. (Along the x-axis in cell units.)
 
int height
 The height of the heightfield. (Along the z-axis in cell units.)
 
rcReal bmin [3]
 The minimum bounds in world space. [(x, y, z)].
 
rcReal bmax [3]
 The maximum bounds in world space. [(x, y, z)].
 
rcReal cs
 The size of each cell. (On the xz-plane.)
 
rcReal ch
 The height of each cell. (The minimum increment along the y-axis.)
 
rcSpan ** spans
 Heightfield of spans (width*height).
 
rcSpanPoolpools
 Linked list of span pools.
 
rcSpanfreelist
 The next free span.
 
rcEdgeHitEdgeHits
 h + 1 bit flags that indicate what edges cross the z cell boundaries
 
rcRowExtRowExt
 h structs that give the current x range for this z row
 
rcTempSpantempspans
 Heightfield of temp spans (width*height).
 
rcSpanDatatempSpanColumns
 Heightfield of 1 span per cell for vertical column rasterization //UE.
 

Detailed Description

A dynamic heightfield representing obstructed space.

Member Data Documentation

◆ bmax

rcReal rcHeightfield::bmax[3]

The maximum bounds in world space. [(x, y, z)].

◆ bmin

rcReal rcHeightfield::bmin[3]

The minimum bounds in world space. [(x, y, z)].

◆ ch

rcReal rcHeightfield::ch

The height of each cell. (The minimum increment along the y-axis.)

◆ cs

rcReal rcHeightfield::cs

The size of each cell. (On the xz-plane.)

◆ EdgeHits

rcEdgeHit* rcHeightfield::EdgeHits

h + 1 bit flags that indicate what edges cross the z cell boundaries

◆ freelist

rcSpan* rcHeightfield::freelist

The next free span.

◆ height

int rcHeightfield::height

The height of the heightfield. (Along the z-axis in cell units.)

◆ pools

rcSpanPool* rcHeightfield::pools

Linked list of span pools.

◆ RowExt

rcRowExt* rcHeightfield::RowExt

h structs that give the current x range for this z row

◆ spans

rcSpan** rcHeightfield::spans

Heightfield of spans (width*height).

◆ tempSpanColumns

rcSpanData* rcHeightfield::tempSpanColumns

Heightfield of 1 span per cell for vertical column rasterization //UE.

◆ tempspans

rcTempSpan* rcHeightfield::tempspans

Heightfield of temp spans (width*height).

◆ width

int rcHeightfield::width

The width of the heightfield. (Along the x-axis in cell units.)


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