Version: 2023.2
언어: 한국어

Terrain.heightmapMinimumLODSimplification

매뉴얼로 전환
public int heightmapMinimumLODSimplification ;

설명

Limits how simplified the rendered terrain can be.

heightmapMinimumLODSimplification creates a lower limit on how much the terrain can be simplified. This property also affects areas that are outside of the camera frustum. Use this property when terrain that is outside of the view of the camera casts an overly simplified shadow inside the view of the camera. A value of 0 for this property does not limit the level of detail that the terrain can be reduced to. Each increment of this property's value quadruples the minimum number of triangles used to render the terrain. A high value for this property might reduce performance because of excessive time spent culling

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Terrain.activeTerrain.heightmapMinimumLODSimplification = 2; } }
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961