Planeshift
rcConfig Struct Reference

Specifies a configuration to use when performing Recast builds. More...

#include <Recast.h>

Public Attributes

float bmax [3]
 The maximum bounds of the field's AABB. [(x, y, z)] [Units: wu]. More...
 
float bmin [3]
 The minimum bounds of the field's AABB. [(x, y, z)] [Units: wu]. More...
 
int borderSize
 The size of the non-navigable border around the heightfield. [Limit: >=0] [Units: vx]. More...
 
float ch
 The y-axis cell size to use for fields. [Limit: > 0] [Units: wu]. More...
 
float cs
 The xz-plane cell size to use for fields. [Limit: > 0] [Units: wu]. More...
 
float detailSampleDist
 Sets the sampling distance to use when generating the detail mesh. (For height detail only.) [Limits: 0 or >= 0.9] [Units: wu]. More...
 
float detailSampleMaxError
 The maximum distance the detail mesh surface should deviate from heightfield data. (For height detail only.) [Limit: >=0] [Units: wu]. More...
 
int height
 The height of the field along the z-axis. [Limit: >= 0] [Units: vx]. More...
 
int maxEdgeLen
 The maximum allowed length for contour edges along the border of the mesh. [Limit: >=0] [Units: vx]. More...
 
float maxSimplificationError
 The maximum distance a simplfied contour's border edges should deviate the original raw contour. [Limit: >=0] [Units: wu]. More...
 
int maxVertsPerPoly
 The maximum number of vertices allowed for polygons generated during the contour to polygon conversion process. [Limit: >= 3]. More...
 
int mergeRegionArea
 Any regions with a span count smaller than this value will, if possible, be merged with larger regions. [Limit: >=0] [Units: vx]. More...
 
int minRegionArea
 The minimum number of cells allowed to form isolated island areas. [Limit: >=0] [Units: vx]. More...
 
int tileSize
 The width/height size of tile's on the xz-plane. [Limit: >= 0] [Units: vx]. More...
 
int walkableClimb
 Maximum ledge height that is considered to still be traversable. [Limit: >=0] [Units: vx]. More...
 
int walkableHeight
 Minimum floor to 'ceiling' height that will still allow the floor area to be considered walkable. [Limit: >= 3] [Units: vx]. More...
 
int walkableRadius
 The distance to erode/shrink the walkable area of the heightfield away from obstructions. [Limit: >=0] [Units: vx]. More...
 
float walkableSlopeAngle
 The maximum slope that is considered walkable. [Limits: 0 <= value < 90] [Units: Degrees]. More...
 
int width
 The width of the field along the x-axis. [Limit: >= 0] [Units: vx]. More...
 

Detailed Description

Specifies a configuration to use when performing Recast builds.

Definition at line 178 of file Recast.h.

Member Data Documentation

float rcConfig::bmax[3]

The maximum bounds of the field's AABB. [(x, y, z)] [Units: wu].

Definition at line 202 of file Recast.h.

float rcConfig::bmin[3]

The minimum bounds of the field's AABB. [(x, y, z)] [Units: wu].

Definition at line 199 of file Recast.h.

int rcConfig::borderSize

The size of the non-navigable border around the heightfield. [Limit: >=0] [Units: vx].

Definition at line 190 of file Recast.h.

float rcConfig::ch

The y-axis cell size to use for fields. [Limit: > 0] [Units: wu].

Definition at line 196 of file Recast.h.

float rcConfig::cs

The xz-plane cell size to use for fields. [Limit: > 0] [Units: wu].

Definition at line 193 of file Recast.h.

float rcConfig::detailSampleDist

Sets the sampling distance to use when generating the detail mesh. (For height detail only.) [Limits: 0 or >= 0.9] [Units: wu].

Definition at line 238 of file Recast.h.

float rcConfig::detailSampleMaxError

The maximum distance the detail mesh surface should deviate from heightfield data. (For height detail only.) [Limit: >=0] [Units: wu].

Definition at line 242 of file Recast.h.

int rcConfig::height

The height of the field along the z-axis. [Limit: >= 0] [Units: vx].

Definition at line 184 of file Recast.h.

int rcConfig::maxEdgeLen

The maximum allowed length for contour edges along the border of the mesh. [Limit: >=0] [Units: vx].

Definition at line 219 of file Recast.h.

float rcConfig::maxSimplificationError

The maximum distance a simplfied contour's border edges should deviate the original raw contour. [Limit: >=0] [Units: wu].

Definition at line 223 of file Recast.h.

int rcConfig::maxVertsPerPoly

The maximum number of vertices allowed for polygons generated during the contour to polygon conversion process. [Limit: >= 3].

Definition at line 234 of file Recast.h.

int rcConfig::mergeRegionArea

Any regions with a span count smaller than this value will, if possible, be merged with larger regions. [Limit: >=0] [Units: vx].

Definition at line 230 of file Recast.h.

int rcConfig::minRegionArea

The minimum number of cells allowed to form isolated island areas. [Limit: >=0] [Units: vx].

Definition at line 226 of file Recast.h.

int rcConfig::tileSize

The width/height size of tile's on the xz-plane. [Limit: >= 0] [Units: vx].

Definition at line 187 of file Recast.h.

int rcConfig::walkableClimb

Maximum ledge height that is considered to still be traversable. [Limit: >=0] [Units: vx].

Definition at line 212 of file Recast.h.

int rcConfig::walkableHeight

Minimum floor to 'ceiling' height that will still allow the floor area to be considered walkable. [Limit: >= 3] [Units: vx].

Definition at line 209 of file Recast.h.

int rcConfig::walkableRadius

The distance to erode/shrink the walkable area of the heightfield away from obstructions. [Limit: >=0] [Units: vx].

Definition at line 216 of file Recast.h.

float rcConfig::walkableSlopeAngle

The maximum slope that is considered walkable. [Limits: 0 <= value < 90] [Units: Degrees].

Definition at line 205 of file Recast.h.

int rcConfig::width

The width of the field along the x-axis. [Limit: >= 0] [Units: vx].

Definition at line 181 of file Recast.h.


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