The '''TimeIntDriver''' Component drives the [[Type:Int|Int]] value specified in <code>Target</code> based on the current time, modified by the specified parameters.
The '''TimeIntDriver''' Component drives the [[:Category:Type:Int|Int]] value specified in <code>Target</code> based on the current time, modified by the specified parameters.
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
Line 13:
Line 12:
|Repeat|Int| Once <code>Target</code> reaches this value, it will reset to 0 and restart.
|Repeat|Int| Once <code>Target</code> reaches this value, it will reset to 0 and restart.
|PingPong|Bool| Causes <code>Target</code> to reverse direction when it reaches 0 or the value in <code>Repeat</code>, instead of restarting.
|PingPong|Bool| Causes <code>Target</code> to reverse direction when it reaches 0 or the value in <code>Repeat</code>, instead of restarting.
|Target|Int| The value to be driven.
|Target|{{RootFieldType|FieldDrive`1|[[Type:Int|Int]]}}|TypeAdv3=true| The value to be driven.
}}
}}
== Behavior ==
== Usage ==
Can be used with [[Component:UVAtlasAnimator]] to constantly drive the animation of a material.
== Examples ==
== Examples ==
* [https://www.youtube.com/watch?v=Nbnx23oGtXo TimeIntDriver for Integer Animations] by [[User:ProbablePrime|ProbablePrime]]
* [https://www.youtube.com/watch?v=Nbnx23oGtXo TimeIntDriver for Integer Animations] by [[User:ProbablePrime|ProbablePrime]]