言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Terrain.treeBillboardDistance

Switch to Manual
public var treeBillboardDistance: float;

Description

Distance from the camera where trees will be rendered as billboards only.

Decreasing this value improves performance but makes the transition look worse because the difference between billboards and trees will be more obvious.

	function Start () {
		Terrain.activeTerrain.treeBillboardDistance = 100;
	}