SceneEditorMoveEdit
Package: Libraries.Interface.Undo · Inherits from: Libraries.Language.Object, Libraries.Interface.Undo.Edit
The SceneEditorMoveEdit is one move of a placed 3D item in the scene editor's undo list, such as dragging it with the mouse. It holds where the item was before and after, and puts it at 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.Item3D item, Libraries.Compute.Vector3 before, Libraries.Compute.Vector3 after, text changeName)
Sets up the edit.
Parameters
controllerLibraries.Interface.Controls.Scenes.SceneEditor: The scene editoritemLibraries.Interface.Item3D: The item that movedbeforeLibraries.Compute.Vector3: Where it wasafterLibraries.Compute.Vector3: Where it is nowchangeNametext: What changed, such as "move Car"
Dispose()
GetRedoName()
Returns
text
GetUndoName()
Returns
text
Redo()
Undo()
Sets up the edit.