KitchenDraw SDK 2
Show / Hide Table of Contents

Class Scene.UndoStack_

Groups the functionality dedicated to undoing/redoing scene modifications.

Inheritance
object
Scene.UndoStack_
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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).

In this article
Back to top Generated by DocFX