ドキュメント

Unity Engine

Unity Engine

heightmapPixelError

An approximation of how many pixels the terrain will pop in the worst case when switching lod.
読み終わるまでの所要時間 1 分最終更新 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; }}