Behavior : Value interpolation
Author:Rex.Rainbow
- Changing value in a duration
Download
Actions
Setup
Action:Setup timer
- Setup timer.
- Timeline ( object ) : Timeline object to get timer
Timer
Action:Set duration
- Set changing duration.
- Duration ( number ) : Changing duration, in seconds
Action:Pause
Action:Resume
Action:Stop
Value
Action:Change value
- Change value.
- Value ( number ) : Target value
Action:Set step
Action:Set value
- Set value without interpolation.
- Value ( number ) : Target value
Expressions
Timer
Expression:Duration
- Get changing duration, in seconds
Value
Expression:Step
Expression:Value
Expression:TargetValue
Conditions
Timer
Condition:Is value changing
- Return true if value changing in this tick.
Condition:On value changing
- Triggered when value changing.
Condition:On hit target value
- Triggered when hit target value.