docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property Duration

    Duration

    The time (in seconds) it takes to traverse the Spline once.

    Declaration
    public float Duration { get; set; }
    Property Value
    Type Description
    float
    Remarks

    When animation method is set to Time this setter will set the Duration value and automatically recalculate MaxSpeed, otherwise, it will have no effect.

    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)