SceneEditorControllerEdit
Package: Libraries.Interface.Undo · Inherits from: Libraries.Language.Object, Libraries.Interface.Undo.Edit
The SceneEditorControllerEdit is one change to a model's controller in the scene editor's undo list: a controller chosen or taken away, or one of its settings changed, such as a slider in the Controller section or Fit to model. It holds the settings before and after (undefined for no controller), 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.Interface.Item3D item, Libraries.Game.Scenes.VehicleControllerSettings before, Libraries.Game.Scenes.VehicleControllerSettings after, text changeName)
Sets up the edit.
Parameters
controllerLibraries.Interface.Controls.Scenes.SceneEditor: The scene editoritemLibraries.Interface.Item3D: The model whose controller changedbeforeLibraries.Game.Scenes.VehicleControllerSettings: The settings before the change, or undefined for no controllerafterLibraries.Game.Scenes.VehicleControllerSettings: The settings after the change, or undefined for no controllerchangeNametext: What changed, such as "change stiffness"
Dispose()
GetRedoName()
Returns
text
GetUndoName()
Returns
text
Redo()
Undo()
Sets up the edit.