docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SplineDataHandles

    Provides default handles to SplineData. Call DataPointHandles<TSpline, TData>(TSpline, SplineData<TData>, bool) in your Editor Tool to add default handles for you to add, move, and remove SplineData's DataPoints along a spline.

    Inheritance
    object
    SplineDataHandles
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.Splines
    Assembly: solution.dll
    Syntax
    public static class SplineDataHandles

    Methods

    Name Description
    DataPointHandles<TSpline, TData>(TSpline, SplineData<TData>, bool)

    Creates manipulation handles in the SceneView to add, move, and remove SplineData's DataPoints along a spline. DataPoints of the targeted SplineData along a Spline. Left click on an empty location on the spline adds a new DataPoint in the SplineData. Left click on an existing DataPoint allows to move this point along the Spline while a right click on it allows to delete that DataPoint.

    DataPointHandles<TSpline, TData>(TSpline, SplineData<TData>, bool, int)

    Creates manipulation handles in the Scene view that can be used to add, move, and remove SplineData's DataPoints along a spline.

    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)