Description
The ActivateSubTool
method is a static method of the PositionTool
class within the Editor.MeshEditor
namespace. This method is used to activate a sub-tool within the mesh editor, specifically the position tool. It is associated with a keyboard shortcut for quick access.
Usage
To use the ActivateSubTool
method, simply call it without any parameters. This method is static, so it should be called on the class itself rather than an instance of the class.
The method is decorated with the Editor.ShortcutAttribute
, which binds it to the shortcut key W
when the Editor.SceneViewportWidget
is active. This allows users to quickly activate the position tool by pressing the W
key.
Example
// Example of how to call the ActivateSubTool method
Editor.MeshEditor.PositionTool.ActivateSubTool();