EditorTool CurrentTool { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The CurrentTool property of the EditorToolManager class provides access to the currently active editor tool within the editor environment. This property is an instance of the EditorTool class, which represents a tool that can be used to manipulate or interact with objects in the editor.

Usage

To access the current tool being used in the editor, you can simply get the value of the CurrentTool property. This is useful for determining which tool is currently active and for performing operations based on the active tool's functionality.

Example usage:

EditorTool activeTool = EditorToolManager.CurrentTool;
if (activeTool != null)
{
    // Perform operations with the active tool
}

Example

EditorTool activeTool = EditorToolManager.CurrentTool;
if (activeTool != null)
{
    // Perform operations with the active tool
}