Version: 2023.1
言語: 日本語

Terrain.treeMaximumFullLODCount

マニュアルに切り替える
public int treeMaximumFullLODCount ;

説明

すべての LOD でレンダリングされる樹木の最大数

This is an easy setting to prevent too many trees being rendered at too high resolution in dense forests. Since there will be no fade if treeMaximumFullLODCount is exceeded you should tweak the treeBillboardDistance to not include unnecessary trees that are not being seen but, still rendered.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Terrain.activeTerrain.treeMaximumFullLODCount = 200; } }