rcCompactHeightfield

A compact, static heightfield representing unobstructed space.

Windows
MacOS
Linux

References

Module

Navmesh

Header

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

Include

#include "Recast/Recast.h"

Syntax

struct rcCompactHeightfield

Remarks

A compact, static heightfield representing unobstructed space.

Variables

Name Description

Public variable

unsigned char &...

 

areas

Array containing area id data. [Size: [spanCount](API\Runtime\Navmesh\Recast\rcCompactHeightfield\spanCount)].

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

int

 

borderSize

The AABB border size used during the build of the field. (See: [rcConfig::borderSize](API\Runtime\Navmesh\Recast\rcConfig\borderSize))

Public variable

rcCompactCell &...

 

cells

Array of cells. [Size: [width](API\Runtime\Navmesh\Recast\rcCompactHeightfield\width)*[height](API\Runtime\Navmesh\Recast\rcCompactHeightfield\height)].

Public variable

float

 

ch

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

Public variable

float

 

cs

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

Public variable

unsigned short ...

 

dist

Array containing border distance data. [Size: [spanCount](API\Runtime\Navmesh\Recast\rcCompactHeightfield\spanCount)].

Public variable

int

 

height

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

Public variable

unsigned short

 

maxDistance

The maximum distance value of any span within the field.

Public variable

unsigned short

 

maxRegions

The maximum region id of any span within the field.

Public variable

int

 

spanCount

The number of spans in the heightfield.

Public variable

rcCompactSpan &...

 

spans

Array of spans. [Size: [spanCount](API\Runtime\Navmesh\Recast\rcCompactHeightfield\spanCount)].

Public variable

int

 

walkableClimb

The walkable climb used during the build of the field. (See: [rcConfig::walkableClimb](API\Runtime\Navmesh\Recast\rcConfig\walkableClimb))

Public variable

int

 

walkableHeight

The walkable height used during the build of the field. (See: rcConfig::walkableHeight)

Public variable

int

 

width

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

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