Recast Navigation
Navigation-mesh Toolset for Games
rcHeightfieldLayer Struct Reference

Represents a heightfield layer within a layer set. More...

#include <Recast.h>

Public Attributes

float bmin [3]
 The minimum bounds in world space. [(x, y, z)]. More...
 
float bmax [3]
 The maximum bounds in world space. [(x, y, z)]. More...
 
float cs
 The size of each cell. (On the xz-plane.) More...
 
float ch
 The height of each cell. (The minimum increment along the y-axis.) More...
 
int width
 The width of the heightfield. (Along the x-axis in cell units.) More...
 
int height
 The height of the heightfield. (Along the z-axis in cell units.) More...
 
int minx
 The minimum x-bounds of usable data. More...
 
int maxx
 The maximum x-bounds of usable data. More...
 
int miny
 The minimum y-bounds of usable data. (Along the z-axis.) More...
 
int maxy
 The maximum y-bounds of usable data. (Along the z-axis.) More...
 
int hmin
 The minimum height bounds of usable data. (Along the y-axis.) More...
 
int hmax
 The maximum height bounds of usable data. (Along the y-axis.) More...
 
unsigned char * heights
 The heightfield. [Size: width * height]. More...
 
unsigned char * areas
 Area ids. [Size: Same as heights]. More...
 
unsigned char * cons
 Packed neighbor connection information. [Size: Same as heights]. More...
 

Description

Represents a heightfield layer within a layer set.

See also
rcHeightfieldLayerSet

Member Data Documentation

◆ areas

unsigned char* rcHeightfieldLayer::areas

Area ids. [Size: Same as heights].

◆ bmax

float rcHeightfieldLayer::bmax[3]

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

◆ bmin

float rcHeightfieldLayer::bmin[3]

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

◆ ch

float rcHeightfieldLayer::ch

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

◆ cons

unsigned char* rcHeightfieldLayer::cons

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

◆ cs

float rcHeightfieldLayer::cs

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

◆ height

int rcHeightfieldLayer::height

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

◆ heights

unsigned char* rcHeightfieldLayer::heights

The heightfield. [Size: width * height].

◆ hmax

int rcHeightfieldLayer::hmax

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

◆ hmin

int rcHeightfieldLayer::hmin

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

◆ maxx

int rcHeightfieldLayer::maxx

The maximum x-bounds of usable data.

◆ maxy

int rcHeightfieldLayer::maxy

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

◆ minx

int rcHeightfieldLayer::minx

The minimum x-bounds of usable data.

◆ miny

int rcHeightfieldLayer::miny

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

◆ width

int rcHeightfieldLayer::width

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


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