Show / Hide Table of Contents

Class UndoActions.UndoTerrain

"Terrain" action for the UndoManager. Can undo and redo terrain modifications.
Inheritance
object
UndoActions.UndoTerrain
Implements
UndoManager.IUndoAction
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Jotunn.Utils
Assembly: Jotunn.dll
Syntax
public class UndoActions.UndoTerrain : UndoManager.IUndoAction

Constructors

Name Description
UndoTerrain(Dictionary<Vector3, TerrainUndoData>, Dictionary<Vector3, TerrainUndoData>, Vector3, float) Create new undo data for terrain modifications.

Methods

Name Description
Description() Description of the executed action.
Redo() Sets terrain data to the stored values of the "after" state.
RedoMessage() Success message.
Undo() Sets terrain data to the stored values of the "before" state.
UndoMessage() Success message.

Extension Methods

PrefabExtension.FixReferences(object)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾