Class SplineScaleTool
Provides methods to scale knots and tangents in the Scene view. This tool is only available when you use SplineToolContext.
When you scale a knot, you also scale both its tangents and change the curvature of the segment around the knot.
SplineToolContext manages the selection of knots and tangents. You can manipulate the selection of knots and tangents with SplineRotateTool.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEditor.Splines
Assembly: solution.dll
Syntax
[EditorTool("Spline Scale Tool", typeof(ISplineContainer))]
public sealed class SplineScaleTool : SplineTool
Properties
| Name | Description |
|---|---|
| toolbarIcon | 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 |
|---|---|
| OnToolGUI(EditorWindow) | Use this method to implement a custom editor tool. |