Skip to content

RenderOptions

RenderOptions = object

Defined in: types.ts:83

Rendering options passed as-is to data.json. Mirrors the renderOptions shape consumed by the rendering pipeline.

optional cursor?: object

Defined in: types.ts:105

optional size?: number

0-1: 0=missing, 1=height of video


optional output?: object

Defined in: types.ts:109

optional aspectRatio?: AspectRatio

Aspect ratio of the rendered output video.

Combined with quality, this determines the final pixel dimensions. See AspectRatio for the full dimension table.

Defaults to '16:9' when not specified.

'16:9'

optional background?: { assetPath: string; } | { backgroundCss: string; }

optional quality?: Quality

Resolution quality of the rendered output video.

Combined with aspectRatio, this determines the final pixel dimensions. See Quality for available presets.

Defaults to '1080p' when not specified.

'1080p'

optional recording?: object

Defined in: types.ts:84

optional dropShadow?: string

CSS drop-shadow filter

optional roundness?: number

0-1: 0=sharp corners, 1=shorter side is half circle

optional shape?: "rounded" | "squircle"

optional size?: number

0-1: 0 causes warning, 1=one side touches background edge


optional voiceOvers?: object

Defined in: types.ts:93

optional corner?: "top-left" | "top-right" | "bottom-left" | "bottom-right"

optional dropShadow?: string

CSS drop-shadow filter

optional padding?: number

0-1: 0=nothing, 1=length of shorter side of the frame

optional roundness?: number

0-1: 0=square, 1=circle

optional shape?: "rounded" | "squircle"

optional size?: number

0-1: 1=mask size equals shorter side of output