TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
rcHeightfieldLayer Struct Reference

#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...
 

Detailed Description

Represents a heightfield layer within a layer set.

See also
rcHeightfieldLayerSet

Member Data Documentation

unsigned char* rcHeightfieldLayer::areas

Area ids. [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::ch

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

unsigned char* rcHeightfieldLayer::cons

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

float rcHeightfieldLayer::cs

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

int rcHeightfieldLayer::height

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

unsigned char* rcHeightfieldLayer::heights

The heightfield. [Size: width * height].

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: