rcHeightfieldLayer

Represents a heightfield layer within a layer set.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h

Include

#include "Recast/Recast.h"

Syntax

struct rcHeightfieldLayer

Remarks

Represents a heightfield layer within a layer set.

Variables

Name Description

Public variable

unsigned char &...

 

areas

Area ids. [Size: Same as heights].

Public variable

float[3]

 

bmax

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

Public variable

float[3]

 

bmin

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

Public variable

float

 

ch

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

Public variable

unsigned char &...

 

cons

Packed neighbor connection information. [Size: Same as heights].

Public variable

float

 

cs

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

Public variable

int

 

height

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

Public variable

unsigned short ...

 

heights

The heightfield. [Size: (width - borderSize*2) * (h - borderSize*2)].

Public variable

int

 

hmax

The maximum height bounds of usable data. (Along the y-axis.)

Public variable

int

 

hmin

The minimum height bounds of usable data. (Along the y-axis.)

Public variable

int

 

maxx

The maximum x-bounds of usable data.

Public variable

int

 

maxy

The maximum y-bounds of usable data. (Along the z-axis.)

Public variable

int

 

minx

The minimum x-bounds of usable data.

Public variable

int

 

miny

The minimum y-bounds of usable data. (Along the z-axis.)

Public variable

int

 

width

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

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss