Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Operator-TotalTime.md
2024-08-26 23:07:20 +03:00

992 B

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.