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
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
Namespace: UnityEditor.Splines
Syntax
[EditorTool("Spline Scale Tool", typeof(ISplineContainer))]
public sealed class SplineScaleTool : SplineTool, IEditor
Properties
toolbarIcon
Declaration
public override GUIContent toolbarIcon { get; }
Property Value
Type | Description |
---|---|
GUIContent |
Overrides
Methods
OnToolGUI(EditorWindow)
Declaration
public override void OnToolGUI(EditorWindow window)
Parameters
Type | Name | Description |
---|---|---|
EditorWindow | window |