docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Next

    Next<T>(T, int)

    Gets the BezierKnot after spline[index]. This method uses the Count and Closed properties to ensure that it returns the correct knot.

    Declaration
    public static BezierKnot Next<T>(this T spline, int index) where T : ISpline
    Parameters
    Type Name Description
    T spline

    The spline to consider.

    int index

    The current index to consider.

    Returns
    Type Description
    BezierKnot

    The knot after the knot at spline[index].

    Type Parameters
    Name Description
    T

    A type that implements ISpline.

    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)