Documentation

Unity Engine

Unity Engine

maxHeightmapResolution

The largest heightmap resolution. Setting TerrainData.heightmapResolution above it clamps the value to it and logs a warning.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public static int maxHeightmapResolution { get; }

Remarks

The heightmap resolution is rounded up to a power of two plus one, so a small value gives the smallest supported resolution and there is no separate minimum.