docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    Object
    ScriptableObject
    EditorTool
    SplineTool
    SplineScaleTool
    Inherited Members
    SplineTool.handleOrientation
    SplineTool.pivotPosition
    SplineTool.handleRotation
    SplineTool.UpdateHandleRotation()
    SplineTool.UpdatePivotPosition(bool)
    SplineTool.OnActivated()
    SplineTool.OnWillBeDeactivated()
    EditorTool.IsAvailable()
    EditorTool.targets
    EditorTool.target
    EditorTool.gridSnapEnabled
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)