docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IndexToTimeInSeconds

    IndexToTimeInSeconds(int)

    Converts a frame index to the corresponding time in seconds.

    Declaration
    public float IndexToTimeInSeconds(int index)
    Parameters
    Type Name Description
    int index

    Frame index to be converted into a time in seconds.

    Returns
    Type Description
    float

    Time in seconds that corresponds to the frame index passed as argument.

    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)