Terrain
- activeTerrain
- AddTreeInstance
- basemapDistance
- castShadows
- CreateTerrainGameObject
- detailObjectDensity
- detailObjectDistance
- editorRenderFlags
- Flush
- GetPosition
- heightmapMaximumLOD
- heightmapPixelError
- lightmapIndex
- SampleHeight
- SetNeighbors
- terrainData
- treeBillboardDistance
- treeCrossFadeLength
- treeDistance
- treeMaximumFullLODCount
Terrain.SetNeighbors 设定相邻地形
function SetNeighbors (left : Terrain, top : Terrain, right : Terrain, bottom : Terrain) : void
Description描述
Lets you setup the connection between neighboring Terrains.
允许你在相邻的地形上设定连接。
This ensures LOD matches up on neighboring terrains. Note that it is not enough to call this function on one Terrain, you need to set the neighbors of each terrain
这个确保LOD在相邻地形上相同。注意:在一个地形上调用这个功能的是不行的,你需要为每个地形设定相邻的地形。
最后修改:2011年4月1日 Friday 18:50