Terrain
- activeTerrain
- AddTreeInstance
- basemapDistance
- castShadows
- CreateTerrainGameObject
- detailObjectDensity
- detailObjectDistance
- editorRenderFlags
- Flush
- GetPosition
- heightmapMaximumLOD
- heightmapPixelError
- lightmapIndex
- SampleHeight
- SetNeighbors
- terrainData
- treeBillboardDistance
- treeCrossFadeLength
- treeDistance
- treeMaximumFullLODCount
Terrain.detailObjectDistance 细节物体距离
var detailObjectDistance : float
Description描述
Detail objects will be displayed up to this distance.
细节物体将被显示到这个距离。
参见: detailObjectDensity.
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Start() {
Terrain.activeTerrain.detailObjectDistance = 40;
}
}
function Start () {
Terrain.activeTerrain.detailObjectDistance = 40;
}
最后修改:2011年4月1日 Friday 18:08