Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

Terrain.heightmapPixelError

public float heightmapPixelError;

Description

An approximation of how many pixels the terrain will pop in the worst case when switching lod.

A higher value reduces the number of polygons drawn.

using UnityEngine;

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

Did you find this page useful? Please give it a rating: