docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReverseFlow

    ReverseFlow(ISplineContainer, int)

    Reverses the flow direction of a spline.

    Declaration
    public static void ReverseFlow(this ISplineContainer container, int splineIndex)
    Parameters
    Type Name Description
    ISplineContainer container

    The target SplineContainer.

    int splineIndex

    The index of the spline to reverse.

    ReverseFlow(SplineInfo)

    Reverses the flow direction of a spline.

    Declaration
    public static void ReverseFlow(SplineInfo splineInfo)
    Parameters
    Type Name Description
    SplineInfo splineInfo

    The spline to reverse.

    ReverseFlow(Spline)

    Reverses the flow direction of a spline. Should only be used with Splines that aren't inside any container.

    Declaration
    public static void ReverseFlow(Spline spline)
    Parameters
    Type Name Description
    Spline spline

    The spline to reverse.

    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)