Recast Navigation  1.0.35
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 cellSizeXZ
 The size of each cell. (On the xz-plane.) More...
 
float cellSizeY
 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 - borderSize*2) * (h - borderSize*2)]. More...
 
navAreaMask * areaMasks
 Area mask. [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

navAreaMask* rcHeightfieldLayer::areaMasks

Area mask. [Size: Same as heights].

float rcHeightfieldLayer::bmax[3]

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

float rcHeightfieldLayer::bmin[3]

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

float rcHeightfieldLayer::cellSizeXZ

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

float rcHeightfieldLayer::cellSizeY

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

unsigned char* rcHeightfieldLayer::cons

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

int rcHeightfieldLayer::height

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

unsigned char* rcHeightfieldLayer::heights

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

int rcHeightfieldLayer::hmax

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

int rcHeightfieldLayer::hmin

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

int rcHeightfieldLayer::maxx

The maximum x-bounds of usable data.

int rcHeightfieldLayer::maxy

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

int rcHeightfieldLayer::minx

The minimum x-bounds of usable data.

int rcHeightfieldLayer::miny

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

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: