SceneEditorLinearLightingEdit
Package: Libraries.Interface.Undo · Inherits from: Libraries.Language.Object, Libraries.Interface.Undo.Edit
The SceneEditorLinearLightingEdit is one change to a 3D layer's linear lighting in the scene editor's undo list: turned on or off. It holds the setting before and after, gives the layer's environment 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, boolean before, boolean after, text changeName)
Sets up the edit.
Parameters
controllerLibraries.Interface.Controls.Scenes.SceneEditor: The scene editorlayerLibraries.Interface.Controls.Scenes.Layers.EditorLayer3D: The layer whose lighting changedbeforeboolean: Whether lighting was linear beforeafterboolean: Whether it is linear afterchangeNametext: What changed, such as "turn on linear lighting"
Dispose()
GetRedoName()
Returns
text
GetUndoName()
Returns
text
Redo()
Undo()
Sets up the edit.