class FaceTool : BaseMeshTool

book_4_sparkGenerated
code_blocksInput

Description

The FaceTool class in the Editor.MeshEditor namespace is a tool designed for manipulating mesh faces. It allows users to move, rotate, and scale mesh faces within the editor environment. This class is sealed, meaning it cannot be inherited.

Members

Static Members

Member NameSummary
ActivateToolActivates the FaceTool using a shortcut. This method is marked with the ShortcutAttribute for quick access.

Instance Members

Member NameSummary
OnEnabledCalled when the FaceTool is enabled. This method is virtual and can be overridden in derived classes.
OnDisabledCalled when the FaceTool is disabled. This method is virtual and can be overridden in derived classes.
OnUpdateCalled every frame to update the FaceTool's state. This method is virtual and can be overridden in derived classes.
ExtrudeSelectionExtrudes the selected mesh faces by a given vector. Returns a list of the extruded faces.
CalculateSelectionBasisCalculates the basis for the current selection, returning a rotation that aligns with the selection.