Transition.opCall

interface Transition
float
opCall
(
float dt
,
float dur
)
out (v) { assert (v >= 0, "less that zero"); assert (v <= 1, "more that one"); }

Parameters

dt
Type: float

time from animation start

dur
Type: float

animation duration

Return Value

Type: float

value from 0 to 1

Meta