static void ActivateSubTool()

book_4_sparkGenerated
code_blocksInput

Description

The ActivateSubTool method is a static method of the PositionEditorTool class within the Editor namespace. This method is used to activate a sub-tool within the position editor tool, which is part of the editor's toolset for manipulating game objects in the scene. The method 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 designed to be triggered by a keyboard shortcut, which is defined by the ShortcutAttribute applied to it. The shortcut is set to the key W when the SceneViewportWidget is focused.

Example

// Example of how to call the ActivateSubTool method
Editor.PositionEditorTool.ActivateSubTool();