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 ms. Default: 300.