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

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/renderer.md.