SceneEditorLayerPhysicsEdit

Package: Libraries.Interface.Undo · Inherits from: Libraries.Language.Object, Libraries.Interface.Undo.Edit

The SceneEditorLayerPhysicsEdit is one change to a layer's physics in games, in the scene editor's undo list: physics turned on or off, or the gravity changed in the layer's Physics section. It holds both before and after, 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.EditorLayer layer, boolean beforeEnabled, Libraries.Compute.Vector3 beforeGravity, boolean afterEnabled, Libraries.Compute.Vector3 afterGravity, text changeName)

Sets up the edit.

Parameters

Dispose()

GetRedoName()

Returns

text

GetUndoName()

Returns

text

Redo()

Undo()

Sets up the edit.

Inherited Actions

2 actions from Libraries.Interface.Undo.Edit
3 actions from Libraries.Language.Object