Behavior : Value interpolation

Author:Rex.Rainbow

Download

Properties

Value

  • Initial value.

Duration

  • Changing duration.

Step

  • Value changing step.

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

  • Pause value changing.

Action:Resume

  • Resume value changing.

Action:Stop

  • Stop value changing.

Value

Action:Change value

  • Change value.
    • Value ( number ) : Target value

Action:Set step

  • Set changing step.
    • Step ( number ) : Step

Action:Set value

  • Set value without interpolation.
    • Value ( number ) : Target value

Expressions

Timer

Expression:Duration

  • Get changing duration, in seconds

Value

Expression:Step

  • Get changing step.

Expression:Value

  • Get current value.

Expression:TargetValue

  • Get target value.

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.