SceneEditorPartEdit
Package: Libraries.Interface.Undo · Inherits from: Libraries.Language.Object, Libraries.Interface.Undo.Edit
The SceneEditorPartEdit is one part of a model shown or hidden in the scene editor's undo list, such as the blanket under a toy car. It holds the part's name and whether it was shown before and after, and gives the model one or the other, then has the scene editor show it and say what happened.
Actions
Create(Libraries.Interface.Controls.Scenes.SceneEditor controller, Libraries.Game.Graphics.Model model, text part, boolean before, boolean after, text changeName)
Sets up the edit.
Parameters
controllerLibraries.Interface.Controls.Scenes.SceneEditor: The scene editormodelLibraries.Game.Graphics.Model: The modelparttext: The part's name in the model's filebeforeboolean: True if the part was shown beforeafterboolean: True if the part is shown afterchangeNametext: What changed, such as "hide Fabric"
Dispose()
GetRedoName()
Returns
text
GetUndoName()
Returns
text
Redo()
Undo()
Sets up the edit.