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;
}
Page last updated: 2011-4-1