docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReorderSpline

    ReorderSpline<T>(T, int, int)

    Reorders a spline in a ISplineContainer.

    Declaration
    public static bool ReorderSpline<T>(this T container, int previousSplineIndex, int newSplineIndex) where T : ISplineContainer
    Parameters
    Type Name Description
    T container

    The target SplineContainer.

    int previousSplineIndex

    The previous index of the spline to reorder in the SplineContainer.

    int newSplineIndex

    The new index of the spline to reorder in the SplineContainer.

    Returns
    Type Description
    bool

    Returns true if the spline was reordered in the container.

    Type Parameters
    Name Description
    T

    A type that implements ISplineContainer.

    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)