class SceneEditorSession

robot_2Generated
code_blocksInput

Description

The SceneEditorSession class in the Editor namespace is responsible for managing the current open scene and its edit state. It provides various methods and properties to interact with and manipulate the scene within the editor environment.

Members

Static Members

Member NameSummary
AllGets a list of all scene editor sessions.
ActiveGets the currently active scene editor session.
ScopePushes the active editor scene to the current scope.
ShowCloseDialogDisplays a dialog to confirm closing the session.
ResolveResolves a scene editor session from various sources.

Instance Members

Member NameSummary
DestroyDestroys the current scene editor session.
MakeActiveMakes this session active, optionally bringing it to the front.
BringToFrontBring this scene tab to the front.
TickUpdates the session state.
FrameToFrames the view to a specified bounding box.
ReloadReloads the current scene.
SaveSaves the current scene, with an option to save as a new file.
GetParentSessionReturns the parent editor session if this is a game session.
RecordChangeRecords a change to a serialized property. Obsolete.
SerializeSelectionSerializes the current selection to a JSON string.
DeserializeSelectionDeserializes a selection from a JSON string.
FullUndoSnapshotCreates a full undo snapshot. Obsolete.
PushUndoSelectionPushes the current selection into the undo system. Obsolete.
AddUndoAdds an undo action with specified undo and redo actions.
UndoScopeCreates an undo scope for the session.
IsGameSessionIndicates if this session is the running game.
IsPrefabSessionIndicates if this session is editing a prefab.
SceneGets the scene associated with this session.
OnFrameToEvent triggered when framing to a bounding box.
HasUnsavedChangesIndicates if there are unsaved changes in the session.
SelectionGets the selection system for the session.
UndoSystemGets the undo system for the session.