class EditorToolManager

book_4_sparkGenerated
code_blocksInput

Description

The EditorToolManager class in the Editor namespace is responsible for managing editor tools within the s&box environment. It provides functionality to set and retrieve the current tool and sub-tool, as well as access to component tools and the current session.

Members

Static Members

Member NameSummary
SetToolSets the current tool by name.
SetSubToolSets the current sub-tool by name.
CurrentModeNameHolds the name of the current tool. The tool won't change until the next frame update.

Instance Members

Member NameSummary
CurrentToolGets the current tool being used in the editor.
CurrentSubToolGets the current sub-tool being used in the editor.
ComponentToolsGets a list of component tools available in the editor.
CurrentSessionGets the current scene editor session.