SnapshotRestoreOptions¶
Interface SnapshotRestoreOptions
interface SnapshotRestoreOptions {
restoreAnnotations?: boolean;
restoreBackground?: boolean;
restoreCamera?: boolean;
restoreClipPlanes?: boolean;
restoreClipRoom?: boolean;
restoreDrawingPlanes?: boolean;
restoreDrawings?: boolean;
restoreLayerFilter?: boolean;
restoreMeasurements?: boolean;
restoreSelection?: boolean;
restoreTree?: boolean;
}
restoreAnnotations?: boolean;
restoreBackground?: boolean;
restoreCamera?: boolean;
restoreClipPlanes?: boolean;
restoreClipRoom?: boolean;
restoreDrawingPlanes?: boolean;
restoreDrawings?: boolean;
restoreLayerFilter?: boolean;
restoreMeasurements?: boolean;
restoreSelection?: boolean;
restoreTree?: boolean;
}
Properties
Optionalrestore Annotations
restoreAnnotations?: boolean
Specifies whether annotations should be restored.
Optionalrestore Background
restoreBackground?: boolean
Specifies whether the background should be restored when restoring camera settings.
Optionalrestore Camera
restoreCamera?: boolean
Specifies whether the camera settings should be restored.
Optionalrestore Clip Planes
restoreClipPlanes?: boolean
Specifies whether clip planes should be restored.
Optionalrestore Clip Room
restoreClipRoom?: boolean
Specifies whether the clip room should be restored.
Optionalrestore Drawing Planes
restoreDrawingPlanes?: boolean
Specifies whether drawing planes should be restored.
Optionalrestore Drawings
restoreDrawings?: boolean
Specifies whether drawings should be restored.
Optionalrestore Layer Filter
restoreLayerFilter?: boolean
Specifies whether the layer filter should be restored.
Optionalrestore Measurements
restoreMeasurements?: boolean
Specifies whether measurements should be restored.
Optionalrestore Selection
restoreSelection?: boolean
Specifies whether the selection state should be restored.
Optionalrestore Tree
restoreTree?: boolean
Specifies whether the tree structure should be restored.
Options used for restoring a snapshot.
These options allow customization of the snapshot restoration process, enabling selective restoration of specific elements such as annotations, camera settings, or measurements.
Use Case
Use this type to configure the snapshot restoration process. For example, you can choose to restore only the camera settings or specific elements of the session state.
See
SessionStorageAPI