Class GeneratedFieldCarve
The heightmap edits the cut's ridge-and-furrow fields made (2026-10-18, phase I2h), so the next repaint or Regenerate POIs can take them out before anything reads the ground: every field is carved again from the ground it was first carved on, never on top of its own ridges.
[DisallowMultipleComponent]
public sealed class GeneratedFieldCarve : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourGeneratedFieldCarve
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.CancelInvoke()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.destroyCancellationTokenMonoBehaviour.useGUILayoutMonoBehaviour.didStartMonoBehaviour.didAwakeMonoBehaviour.runInEditModeBehaviour.enabledBehaviour.isActiveAndEnabledComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponentsInParent<T>()Component.GetComponents<T>()Component.GetComponentIndex()Component.CompareTag(TagHandle)Component.transformComponent.transformHandleComponent.gameObjectComponent.tagObject.GetEntityId()Object.GetInstanceID()Object.GetHashCode()Object.InstantiateAsync<T>(T)Object.InstantiateAsync<T>(T, Transform)Object.InstantiateAsync<T>(T, Vector3, Quaternion)Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Scene)Object.Instantiate<T>(T, InstantiateParameters)Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.FindObjectsByType<T>()Object.FindObjectsByType<T>(FindObjectsInactive)Object.ToString()Object.nameObject.hideFlags
Remarks
Lives on an EditorOnly-tagged child of the "Points of Interest" root, which Unity leaves out of every build: the
heights it describes are already in the terrain data. Sparse (only the samples a field raised), one record per field
per tile, the tile named by its place in the scene's tile grid rather than by its terrain data, so a LOCAL copy with
terrain data of its own takes its own ridges out. The deltas are what the terrain data took (read back after the
write, so its 16-bit rounding is in them), which is what makes taking them out exact.
Fields
Edits
The edits in the order they were made (taken out in the reverse order).
public List<GeneratedFieldCarve.TileEdit> Edits
Field Value
ObjectName
The name of the editor-only child that carries this.
public const string ObjectName = "Field Carve"