TerrainHeightmapSyncControl
Controls what Terrain heightmap data to synchronize when there are changes to the heightmap texture.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public enum TerrainHeightmapSyncControl
Remarks
Additional Resources: TerrainData.CopyActiveRenderTextureToHeightmap, TerrainData.DirtyHeightmapRegion, TerrainData.SyncHeightmap.
Fields
Value | Description |
|---|---|
| HeightAndLod | Synchronizes height data of the heightmap texture from the GPU back to CPU memory. Then computes LOD data, used for determining the tessellation level, from the height data. |
| HeightOnly | Synchronizes only height data of the heightmap texture from the GPU back to CPU memory. |
| None | Does not synchronize the height data nor the LOD data. |