class BaseMeshTool : EditorTool

book_4_sparkGenerated
code_blocksInput

Description

The BaseMeshTool class serves as the foundational class for tools that manipulate vertices, edges, and faces within the mesh editor. It provides essential methods and properties to facilitate mesh editing operations.

Members

Static Members

Member NameSummary
RayScreenPositionGets or sets the screen position of the ray used for selection.
IsMultiSelectingIndicates whether multiple selections are being made.

Instance Members

Member NameSummary
GetSubtoolsReturns a collection of subtools associated with this tool.
OnEnabledCalled when the tool is enabled.
OnDisabledCalled when the tool is disabled.
OnUpdateCalled every frame to update the tool's state.
ExtrudeSelectionExtrudes the current selection by a specified delta.
OnSelectionChangedCalled when the selection changes.
CalculateSelectionBoundsCalculates the bounding box of the current selection.
CalculateSelectionBasisCalculates the basis (rotation) of the current selection.
CalculateSelectionOriginCalculates the origin point of the current selection.
CalculateSelectionVerticesCalculates the vertices of the current selection.
TraceFaceTraces a face from the current selection.
MeshSelectionGets the current mesh selection system.
VertexSelectionGets the current set of selected vertices.
PivotGets or sets the pivot point for transformations.