Skip to content

crossFade

crossFade(opts?): SceneTransition

Defined in: renderer/src/transitions/crossFade.ts:16

Cross-dissolve between two scenes: the outgoing scene fades from full opacity to zero while the incoming scene fades in. Both scenes remain visible throughout, so there’s no blackout in the middle — good for menu→game and level→level handoffs.

CrossFadeOptions = {}

SceneTransition