Class Scene.UndoStack_
Groups the functionality dedicated to undoing/redoing scene modifications.
Inherited Members
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Scene.UndoStack_
Properties
Name | Description |
---|---|
IsLocked | Indicates whether undo stack is locked - thus, is not modified by the operations performed. |
IsRedoPossible | Indicates whether redo is possible. |
IsUndoPossible | Indicates whether undo is possible. |
Methods
Name | Description |
---|---|
AddState(UndoStateType) | Saves the current scene state in the undo states stack. |
Lock() | Disables the automatic undo state saving facility. |
Redo() | Restores the scene in its previous state if the last action was an Undo action. |
RemoveState(UndoState) | Removes given undo state from the undo state stack. |
Reset() | Empties the scene undo state stack. |
Undo() | Cancels the last operation carried out. |
Unlock() | Enables the automatic undo state saving facility (enabled by default). |