Planeshift
rcHeightfieldLayer Struct Reference

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

#include <Recast.h>

Public Attributes

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

Detailed Description

Represents a heightfield layer within a layer set.

See also
rcHeightfieldLayerSet

Definition at line 327 of file Recast.h.

Member Data Documentation

unsigned char* rcHeightfieldLayer::areas

Area ids. [Size: Same as heights].

Definition at line 342 of file Recast.h.

float rcHeightfieldLayer::bmax[3]

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

Definition at line 330 of file Recast.h.

float rcHeightfieldLayer::bmin[3]

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

Definition at line 329 of file Recast.h.

float rcHeightfieldLayer::ch

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

Definition at line 332 of file Recast.h.

unsigned char* rcHeightfieldLayer::cons

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

Definition at line 343 of file Recast.h.

float rcHeightfieldLayer::cs

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

Definition at line 331 of file Recast.h.

int rcHeightfieldLayer::height

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

Definition at line 334 of file Recast.h.

unsigned char* rcHeightfieldLayer::heights

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

Definition at line 341 of file Recast.h.

int rcHeightfieldLayer::hmax

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

Definition at line 340 of file Recast.h.

int rcHeightfieldLayer::hmin

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

Definition at line 339 of file Recast.h.

int rcHeightfieldLayer::maxx

The maximum x-bounds of usable data.

Definition at line 336 of file Recast.h.

int rcHeightfieldLayer::maxy

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

Definition at line 338 of file Recast.h.

int rcHeightfieldLayer::minx

The minimum x-bounds of usable data.

Definition at line 335 of file Recast.h.

int rcHeightfieldLayer::miny

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

Definition at line 337 of file Recast.h.

int rcHeightfieldLayer::width

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

Definition at line 333 of file Recast.h.


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