Description
The ActivateSubTool
method is a static method of the RotateTool
class within the Editor.MeshEditor
namespace. This method is used to activate the sub-tool associated with the rotation functionality 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 RotateTool
is part of your mesh editing workflow. This method does not take any parameters and does not return a value. It is designed to be called when you need to activate the rotation sub-tool, typically in response to a user action such as a keyboard shortcut.
The method is associated with the shortcut e
when the Editor.SceneViewportWidget
is focused, as specified by the Editor.ShortcutAttribute
.
Example
// Example of how to activate the RotateTool's sub-tool
// This would typically be triggered by a user action, such as a keyboard shortcut
Editor.MeshEditor.RotateTool.ActivateSubTool();