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

Represents a heightfield layer within a layer set. 更多...

#include <Recast.h>

Public 属性

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 short * 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.)
 

详细描述

Represents a heightfield layer within a layer set.

参见
rcHeightfieldLayerSet

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