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
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 Move Tool", typeof(ISplineContainer))]
public sealed class SplineMoveTool : SplineTool, IEditor
Properties
gridSnapEnabled
Declaration
public override bool gridSnapEnabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
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 |