maxHeightmapResolution
The largest heightmap resolution. Setting TerrainData.heightmapResolution above it clamps the value to it and logs a warning.
読み終わるまでの所要時間 1 分最終更新 21日前
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.