m ProbablePrime moved page TimeIntDriver (Component) to Component:TimeIntDriver: Creating component Namespace |
Automated: update Fields, Categories |
||
Line 13: | Line 13: | ||
|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 == | == Behavior == | ||
Line 21: | Line 21: | ||
== Related Components == | == Related Components == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}| | [[Category:Components{{#translation:}}|Time Int Driver]] | ||
[[Category:Components:Transform:Drivers{{#translation:}}| | [[Category:Components:Transform:Drivers{{#translation:}}|Time Int Driver]] |
Revision as of 21:26, 3 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Intoduction
The TimeIntDriver Component drives the Int value specified in Target
based on the current time, modified by the specified parameters.
Usage
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
Scale
|
Float | Time scale in relation to time in seconds, where 1.0 means Target will increment once per second.
|
Repeat
|
Int | Once Target reaches this value, it will reset to 0 and restart.
|
PingPong
|
Bool | Causes Target to reverse direction when it reaches 0 or the value in Repeat , instead of restarting.
|
Target
|
field drive of Int | The value to be driven. |