docs.unity3d.com
    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
    Syntax
    public enum LoopMode

    Fields

    Name Description Value
    Loop

    Traverse the Spline continuously without stopping.

    LoopEaseInOnce

    Traverse the Spline continuously without stopping. If Easing is set to EaseIn or EaseInOut then only ease in is applied and only during the first loop. Otherwise, no easing is applied when using this loop mode.

    Once

    Traverse the Spline once and stop at the end.

    PingPong

    Traverse the Spline continuously without stopping and reverse movement direction uppon reaching end or beginning of the Spline.

    Back to top
    Terms of use
    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