Atoms Crowd  7.0.0
AtomsUtils::rcCompactHeightfield Struct Reference

#include <Recast.h>

Public Attributes

int width
 The width of the heightfield. (Along the x-axis in cell units.)
 
int height
 The height of the heightfield. (Along the z-axis in cell units.)
 
int spanCount
 The number of spans in the heightfield.
 
int walkableHeight
 The walkable height used during the build of the field. (See: rcConfig::walkableHeight)
 
int walkableClimb
 The walkable climb used during the build of the field. (See: rcConfig::walkableClimb)
 
int borderSize
 The AABB border size used during the build of the field. (See: rcConfig::borderSize)
 
unsigned short maxDistance
 The maximum distance value of any span within the field.
 
unsigned short maxRegions
 The maximum region id of any span within the field.
 
float bmin [3]
 The minimum bounds in world space. [(x, y, z)].
 
float bmax [3]
 The maximum bounds in world space. [(x, y, z)].
 
float cs
 The size of each cell. (On the xz-plane.)
 
float ch
 The height of each cell. (The minimum increment along the y-axis.)
 
rcCompactCellcells
 Array of cells. [Size: width*height].
 
rcCompactSpanspans
 Array of spans. [Size: spanCount].
 
unsigned short * dist
 Array containing border distance data. [Size: spanCount].
 
unsigned char * areas
 Array containing area id data. [Size: spanCount].
 

Detailed Description

A compact, static heightfield representing unobstructed space.


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