static void ActivateTool()

book_4_sparkGenerated
code_blocksInput

Description

The ActivateTool method is a static method of the FaceTool class within the Editor.MeshEditor namespace. This method is used to activate the Face Tool in the mesh editor, allowing users to move, rotate, and scale mesh faces. It is associated with a keyboard shortcut defined by the Editor.ShortcutAttribute, which is set to "mesh.face" with the key combination of "3" and "0".

Usage

To use the ActivateTool method, simply call it when you want to activate the Face Tool in the mesh editor. This method does not take any parameters and does not return a value. It is typically used in the context of a mesh editing session where you need to manipulate mesh faces.

Example

// Activating the Face Tool in the mesh editor
Editor.MeshEditor.FaceTool.ActivateTool();