Manual     Reference     Scripting  
  
Scripting > Editor Classes > Undo   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • Undo
  • All Members
  • Class Functions
  • ClearSnapshotTarget
  • CreateSnapshot
  • PerformRedo
  • PerformUndo
  • RegisterSceneUndo
  • RegisterSnapshot
  • RegisterUndo
  • RestoreSnapshot
  • SetSnapshotTarget

Undo.RestoreSnapshot  

static function RestoreSnapshot () : void

Description

Restore the snapshot state made with CreateSnapshot.

This can be used if a change in progress should be canceled; for example if the user presses Escape while dragging something.