heightmapPixelError
An approximation of how many pixels the terrain will pop in the worst case when switching lod.
Read time 1 minuteLast updated 4 days ago
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; }}