docs.unity3d.com
    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
    • Operator properties
    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