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

A compact, static heightfield representing unobstructed space. 更多...

#include <Recast.h>

Public 属性

unsigned char * areas
 Array containing area id data. [Size: spanCount]
 
float bmax [3]
 The maximum bounds in world space. [(x, y, z)]
 
float bmin [3]
 The minimum bounds in world space. [(x, y, z)]
 
int borderSize
 The AABB border size used during the build of the field. (See: rcConfig::borderSize)
 
rcCompactCell * cells
 Array of cells. [Size: width*height]
 
float ch
 The height of each cell. (The minimum increment along the y-axis.)
 
float cs
 The size of each cell. (On the xz-plane.)
 
unsigned short * dist
 Array containing border distance data. [Size: spanCount]
 
int height
 The height of the heightfield. (Along the z-axis in cell units.)
 
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.
 
int spanCount
 The number of spans in the heightfield.
 
rcCompactSpan * spans
 Array of spans. [Size: spanCount]
 
int walkableClimb
 The walkable climb used during the build of the field. (See: rcConfig::walkableClimb)
 
int walkableHeight
 The walkable height used during the build of the field. (See: rcConfig::walkableHeight)
 
int width
 The width of the heightfield. (Along the x-axis in cell units.)
 

详细描述

A compact, static heightfield representing unobstructed space.


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