Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 1.2
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
terrain
TerrainInfo
Class TerrainInfo
地形信息
Hierarchy
TerrainInfo
Index
Properties
block
Count
light
Map
Size
tile
Size
weight
Map
Size
Accessors
size
tile
Count
vertex
Count
Properties
block
Count
block
Count
:
number
[]
= [1, 1]
地形块的数量
light
Map
Size
light
Map
Size
:
number
= 128
光照图大小
tile
Size
tile
Size
:
number
= 1
栅格大小
weight
Map
Size
weight
Map
Size
:
number
= 128
权重图大小
Accessors
size
get
size
(
)
:
Size
地形大小
Returns
Size
tile
Count
get
tileCount
(
)
:
number
[]
栅格数量
Returns
number
[]
vertex
Count
get
vertexCount
(
)
:
number
[]
顶点数量
Returns
number
[]
Globals
terrain
Height
Field
Terrain
Terrain
Asset
Terrain
Block
Terrain
Block
Info
Terrain
Block
Lightmap
Info
Terrain
Buffer
Terrain
Info
block
Count
light
Map
Size
tile
Size
weight
Map
Size
size
tile
Count
vertex
Count
Terrain
Layer
Terrain
Layer
Info
Terrain
Renderable
TERRAIN_
BLOCK_
TILE_
COMPLEXITY
TERRAIN_
BLOCK_
VERTEX_
COMPLEXITY
TERRAIN_
BLOCK_
VERTEX_
SIZE
TERRAIN_
DATA_
VERSION
TERRAIN_
DATA_
VERSION2
TERRAIN_
DATA_
VERSION3
TERRAIN_
DATA_
VERSION_
DEFAULT
TERRAIN_
EAST_
INDEX
TERRAIN_
HEIGHT_
BASE
TERRAIN_
HEIGHT_
FACTORY
TERRAIN_
HEIGHT_
FMAX
TERRAIN_
HEIGHT_
FMIN
TERRAIN_
MAX_
BLEND_
LAYERS
TERRAIN_
MAX_
LAYER_
COUNT
TERRAIN_
MAX_
LEVELS
TERRAIN_
NORTH_
INDEX
TERRAIN_
SOUTH_
INDEX
TERRAIN_
WEST_
INDEX
Generated using
TypeDoc
地形信息