docs.unity3d.com
    Show / Hide Table of Contents

    Class SplineHandles

    This class provides the ability to draw a handle for a spline.

    Inheritance
    Object
    SplineHandles
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Splines
    Syntax
    public static class SplineHandles

    Methods

    DoCurve(Int32, BezierCurve)

    Draws a handle for a BezierCurve.

    Declaration
    public static void DoCurve(int controlID, BezierCurve curve)
    Parameters
    Type Name Description
    Int32 controlID

    The spline mesh controlID.

    BezierCurve curve

    The BezierCurve to create handles for.

    DoCurve(BezierCurve)

    Draws a handle for a BezierCurve.

    Declaration
    public static void DoCurve(BezierCurve curve)
    Parameters
    Type Name Description
    BezierCurve curve

    The BezierCurve to create handles for.

    DoSpline<T>(T)

    Draws a handle for a spline.

    Declaration
    public static void DoSpline<T>(T spline)
        where T : ISpline
    Parameters
    Type Name Description
    T spline

    The target spline.

    Type Parameters
    Name Description
    T

    A type implementing ISpline.

    DoSpline<T>(Int32, T)

    Draws a handle for a spline.

    Declaration
    public static void DoSpline<T>(int controlID, T spline)
        where T : ISpline
    Parameters
    Type Name Description
    Int32 controlID

    The spline mesh controlID.

    T spline

    The target spline.

    Type Parameters
    Name Description
    T

    A type implementing ISpline.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023