Skip to content

FadeOptions

Defined in: renderer/src/transitions/fade.ts:7

optional color?: number

Defined in: renderer/src/transitions/fade.ts:11

Fill color as a hex number. Default: 0x000000.


optional coverScreen?: boolean

Defined in: renderer/src/transitions/fade.ts:17

When true, the overlay covers the full canvas including letterbox / expand bars. When false (default), it covers only the virtual play area — bars stay visible during the dip.


optional duration?: number

Defined in: renderer/src/transitions/fade.ts:9

Fade duration in seconds. Default: 0.3.

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.