engine
 
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
rcConfig结构体 参考

Specifies a configuration to use when performing Recast builds. 更多...

#include <Recast.h>

Public 属性

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

详细描述

Specifies a configuration to use when performing Recast builds.

类成员变量说明

◆ detailSampleDist

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]

◆ detailSampleMaxError

float rcConfig::detailSampleMaxError

The maximum distance the detail mesh surface should deviate from heightfield data.

(For height detail only.) [Limit: >=0] [Units: wu]

◆ maxSimplificationError

float rcConfig::maxSimplificationError

The maximum distance a simplified contour's border edges should deviate the original raw contour.

[Limit: >=0] [Units: wu]

◆ maxVertsPerPoly

int rcConfig::maxVertsPerPoly

The maximum number of vertices allowed for polygons generated during the contour to polygon conversion process.

[Limit: >= 3]

◆ mergeRegionArea

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]

◆ walkableHeight

int rcConfig::walkableHeight

Minimum floor to 'ceiling' height that will still allow the floor area to be considered walkable.

[Limit: >= 3] [Units: vx]

◆ walkableRadius

int rcConfig::walkableRadius

The distance to erode/shrink the walkable area of the heightfield away from obstructions.

[Limit: >=0] [Units: vx]


该结构体的文档由以下文件生成: