SceneEditorSkyEdit
Package: Libraries.Interface.Undo · Inherits from: Libraries.Language.Object, Libraries.Interface.Undo.Edit
The SceneEditorSkyEdit is one change to a 3D layer's sky in the scene editor's undo list (QuincyWorld demo D3): a sky chosen or removed, or its turn changed. It holds the sky and its turn before and after, and gives the layer one or the other, then has the scene editor show it and say what happened.
Actions
Create(Libraries.Interface.Controls.Scenes.SceneEditor controller, Libraries.Interface.Controls.Scenes.Layers.EditorLayer3D layer, Libraries.Game.Graphics.Skybox before, number beforeTurn, Libraries.Game.Graphics.Skybox after, number afterTurn, text changeName)
Sets up the edit.
Parameters
controllerLibraries.Interface.Controls.Scenes.SceneEditor: The scene editorlayerLibraries.Interface.Controls.Scenes.Layers.EditorLayer3D: The layer whose sky changedbeforeLibraries.Game.Graphics.Skybox: The sky before the change, or undefined for nonebeforeTurnnumber: Its turn before, in degreesafterLibraries.Game.Graphics.Skybox: The sky after the change, or undefined for noneafterTurnnumber: Its turn after, in degreeschangeNametext: What changed, such as "choose sky"
Dispose()
GetRedoName()
Returns
text
GetUndoName()
Returns
text
Redo()
Undo()
Sets up the edit.