docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Total Time

    Menu Path : Operator > BuiltIn > Total Time

    The Total Time Operator outputs the total time since the effect started. This is an accumulation of each frame's deltaTime which means that it takes the timeScale and playRate into account. This increments even if the renderer is culled.

    This value resets to 0 when the VisualEffect component resets. This occurs if you call VisualEffect.Reinit or disable then enable the GameObject.

    Operator properties

    Output Type Description
    totalTime float The total time the effect has run for.
    In This Article
    Back to top
    Copyright © 2025 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)