docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum SplineAnimate.LoopMode

    Describes the different ways the object's animation along the Spline can be looped.

    Namespace: UnityEngine.Splines
    Assembly: solution.dll
    Syntax
    public enum SplineAnimate.LoopMode

    Fields

    Name Description
    Loop

    Traverse the spline continuously without stopping.

    LoopEaseInOnce

    Traverse the spline continuously without stopping. If Easing is set to EaseIn or EaseInOut then easing is only applied to the first loop of the animation. Otherwise, no easing is applied with this loop mode.

    Once

    Traverse the spline once and stop at the end.

    PingPong

    Traverse the spline and then reverse direction at the end of the spline. The animation plays repeatedly.

    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)