Animation.Timer¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input of this shard is ignored. | None |
||
Output ➡️ |
Outputs the current time of the animation timer | Float |
||
Animation |
No | The Animation object to take the duration from. | none |
Var([{Path: [String] Frames: [{Time: Float Value: Any none: Any}]}]) [{Path: [String] Frames: [{Time: Float Value: Any none: Any}]}] None |
Duration |
No | The duration of the timer, the timer will loop or stop after reaching this value. | none |
None Float Var(Float) |
Looped |
No | If set to true, the timer will loop after reaching the target time | true |
None Bool Var(Bool) |
Rate |
No | The playback rate | 1 |
None Float Var(Float) |
Offset |
No | Timer offset | none |
None Float Var(Float) |
Action |
No | The shards to execute whenever the shard reached the specified duration. | none |
Shard [Shard] None |
Variable |
No | The variable to store the current time of the timer in. | none |
None Var(Float) |
This shard sets a duration (either taken form the animation object in the Animation Parameter or specified in the Duration parameter) and executes the shards specified in the Action parameter whenever that duration is reached.