SceneEditorTerrainEdit
Package: Libraries.Interface.Undo · Inherits from: Libraries.Language.Object, Libraries.Interface.Undo.Edit
The SceneEditorTerrainEdit is one terrain stroke in the scene editor's undo list. It holds the stroke's TerrainStrokeEdit, which puts the ground back or forward, and then has the scene editor redraw the terrain and mark it changed, since the stroke's own edit only changes the terrain's data.
Actions
CanRedo()
Returns
boolean
CanUndo()
Returns
boolean
Create(Libraries.Interface.Controls.Scenes.SceneEditor controller, Libraries.Interface.Controls.Scenes.Items.EditorTerrain terrain, Libraries.Game.Graphics.Worlds.TerrainStrokeEdit strokeEdit)
Sets up the edit.
Parameters
controllerLibraries.Interface.Controls.Scenes.SceneEditor: The scene editorterrainLibraries.Interface.Controls.Scenes.Items.EditorTerrain: The terrain the stroke changedstrokeEditLibraries.Game.Graphics.Worlds.TerrainStrokeEdit: The stroke's own edit
Dispose()
GetRedoName()
Returns
text
GetUndoName()
Returns
text
Redo()
Undo()
Sets up the edit.