Skip to content

FlashOptions

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

optional color?: number

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

Flash color as a hex number. Default: 0xffffff.


optional coverScreen?: boolean

Defined in: renderer/src/transitions/flash.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 flash.


optional duration?: number

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

Flash duration in seconds. Default: 0.2.

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.