Optionaldurationseconds, counted in real time; 0.5 when omitted. Reduced motion skips the transition entirely
Optionaleasinga name from Easing or a function of progress; easeInOutQuad when omitted
Optionalinterruptsee queue: finish the running transition at once and play this one instead
Optionalonruns once, the frame the transition ends
Optionalpausehold the scene still while the transition plays; false when omitted
OptionalqueueWhat happens when this transition is requested while another is already playing:
by default the new request is ignored (its swap never runs and its onDone never
fires). queue: true holds it until the running transition finishes, then plays it;
interrupt: true finishes the running one at once (its onDone fires) and plays
this one instead. interrupt wins when both are set.
how a transition is run;
transitionis the only required part