Transition:duration
Returns the duration of the transition, in seconds.
Usage
Arguments
| Name | Type | Description |
duration | number | Duration, in seconds. |
Examples
local fade = crystal.Transition.FadeToBlack:new(0.5, math.ease_in_cubic);
print(fade:duration()); -- Prints "0.5"