class HammerSceneEditorSession

robot_2Generated
code_blocksInput

Description

The HammerSceneEditorSession class is part of the Editor.MapEditor namespace and provides functionality for managing and interacting with scene editor sessions in the s&box game engine. It allows for operations such as focusing on the editor, resolving sessions, and managing undo scopes.

Members

Static Members

Member NameSummary
AllGets a list of all active HammerSceneEditorSession instances.
ResolveResolves a session based on the provided map path name.
ResolveResolves a session based on the provided source location.

Instance Members

Member NameSummary
DestroyDestroys the current editor session.
FocusFocuses the editor on this session.
UndoScopeCreates an undo scope with the specified name.
SceneGets the scene associated with this session.
MapWorldGets the map world associated with this session.
SourceLocationGets the source location for this session.
HasUnsavedChangesIndicates whether there are unsaved changes in the session.