static void ActivateSubTool()

book_4_sparkGenerated
code_blocksInput

Description

The ActivateSubTool method is a static method of the ScaleTool class within the Editor.MeshEditor namespace. This method is used to activate the sub-tool associated with the scale tool in the mesh editor. It is decorated with the Editor.ShortcutAttribute, which allows it to be triggered using a keyboard shortcut.

Usage

To use the ActivateSubTool method, ensure that the ScaleTool is part of your mesh editing workflow. This method can be activated via the shortcut key defined in the Editor.ShortcutAttribute, which is r in the Editor.SceneViewportWidget context. This allows for quick access to the scale tool's sub-tool functionality without navigating through menus.

Example

// Example of how to use the ActivateSubTool method
// This method is static and can be called directly from the ScaleTool class
Editor.MeshEditor.ScaleTool.ActivateSubTool();

// Note: Typically, this method is triggered via the shortcut key 'r' in the editor's viewport.