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.
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.
Member Name | Summary |
---|---|
ActivateTool | Activates the FaceTool using a shortcut. This method is marked with the ShortcutAttribute for quick access. |
Member Name | Summary |
---|---|
OnEnabled | Called when the FaceTool is enabled. This method is virtual and can be overridden in derived classes. |
OnDisabled | Called when the FaceTool is disabled. This method is virtual and can be overridden in derived classes. |
OnUpdate | Called every frame to update the FaceTool's state. This method is virtual and can be overridden in derived classes. |
ExtrudeSelection | Extrudes the selected mesh faces by a given vector. Returns a list of the extruded faces. |
CalculateSelectionBasis | Calculates the basis for the current selection, returning a rotation that aligns with the selection. |