Description
The ActivateTool
method is a static method of the VertexTool
class within the Editor.MeshEditor
namespace. This method is used to activate the vertex editing tool in the mesh editor, allowing users to move, rotate, and scale mesh vertices. It is decorated with the Editor.ShortcutAttribute
, which assigns a keyboard shortcut to the tool for quick access.
Usage
To use the ActivateTool
method, simply call it from the VertexTool
class. This will activate the vertex editing tool in the mesh editor environment. The method does not take any parameters and does not return a value.
The method is static, so it should be called on the class itself rather than on an instance of the class.
Example
// Activating the Vertex Tool in the Mesh Editor
Editor.MeshEditor.VertexTool.ActivateTool();