기술 자료

Unity Engine

Unity Engine

heightmapPixelError

An approximation of how many pixels the terrain will pop in the worst case when switching lod.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
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; }}