文档

Unity Engine

Unity Engine

heightmapPixelError

An approximation of how many pixels the terrain will pop in the worst case when switching lod.
阅读时间1 分钟最后更新于 14 小时前

Definition

public float heightmapPixelError { get; set; }

Remarks

A higher value reduces the number of polygons drawn.

Examples

using UnityEngine;public class Example : MonoBehaviour{ void Start() { Terrain.activeTerrain.heightmapPixelError = 10; }}