Planeshift
Public Attributes

rcHeightfieldLayer Struct Reference

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

#include <Recast.h>

List of all members.

Public Attributes

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

Detailed Description

Represents a heightfield layer within a layer set.

See also:
rcHeightfieldLayerSet

Definition at line 327 of file Recast.h.


Member Data Documentation

Area ids. [Size: Same as heights].

Definition at line 342 of file Recast.h.

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

Definition at line 330 of file Recast.h.

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

Definition at line 329 of file Recast.h.

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

Definition at line 332 of file Recast.h.

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

Definition at line 343 of file Recast.h.

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

Definition at line 331 of file Recast.h.

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

Definition at line 334 of file Recast.h.

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

Definition at line 341 of file Recast.h.

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

Definition at line 340 of file Recast.h.

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

Definition at line 339 of file Recast.h.

The maximum x-bounds of usable data.

Definition at line 336 of file Recast.h.

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

Definition at line 338 of file Recast.h.

The minimum x-bounds of usable data.

Definition at line 335 of file Recast.h.

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

Definition at line 337 of file Recast.h.

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: