class EdgeTool : BaseMeshTool

book_4_sparkGenerated
code_blocksInput

Description

The EdgeTool class in the Editor.MeshEditor namespace is a sealed class that extends the BaseMeshTool. It provides functionality to move, rotate, and scale mesh edges within the editor environment. This tool is equipped with various attributes to enhance its usability and integration within the editor, such as EditorToolAttribute, TitleAttribute, and IconAttribute.

Members

Static Members

Member NameSummary
ActivateToolActivates the EdgeTool with a shortcut key combination defined by the Editor.ShortcutAttribute.

Instance Members

Member NameSummary
OnUpdateUpdates the tool's state during each frame.
CalculateSelectionBasisCalculates the rotation basis for the current selection of edges.
ExtrudeSelectionExtrudes the selected edges by a given vector delta, returning a list of affected mesh faces.