Class SplineMoveTool
Provides methods that move knots and tangents in the Scene view. This tool is only available when you use SplineToolContext.
SplineMoveTool
works similarly to the Move tool for GameObjects, except that it has extra handle configurations according to the handleOrientation
settings.
SplineToolContext
manages the selection of knots and tangents. You can manipulate the selection of knots and tangents with SplineMoveTool
.
Inherited Members
Namespace: UnityEditor .Splines
Assembly: solution.dll
Syntax
[EditorTool("Spline Move Tool", typeof(ISplineContainer))]
public sealed class SplineMoveTool : SplineTool
Properties
Name | Description |
---|---|
grid |
Use this property to allow the current EditorTool to enable/disable grid snapping. |
toolbar |
The icon and tooltip for this custom editor tool. If this function is not implemented, the toolbar displays the Inspector icon for the target type. If no target type is defined, the toolbar displays the Tool Mode icon. |
Methods
Name | Description |
---|---|
On |
Use this method to implement a custom editor tool. |