Description
The Pivot
property of the BaseMeshTool
class represents the pivot point of the current mesh selection in the editor. This property is of type Vector3
, which means it holds a three-dimensional vector value indicating the position of the pivot in 3D space.
Usage
Use the Pivot
property to get or set the pivot point of the mesh selection when working with mesh editing tools. This can be useful for operations that require a specific point of reference, such as transformations or rotations of the selected mesh elements.
Example
// Example of accessing the Pivot property
// Assume 'meshTool' is an instance of a class derived from BaseMeshTool
Vector3 currentPivot = meshTool.Pivot;
// Set a new pivot point
meshTool.Pivot = new Vector3(1.0f, 2.0f, 3.0f);