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.
Properties
Section titled “Properties”cursor?
Section titled “cursor?”
optionalcursor?:object
Defined in: types.ts:105
optionalsize?:number
0-1: 0=missing, 1=height of video
output?
Section titled “output?”
optionaloutput?:object
Defined in: types.ts:109
aspectRatio?
Section titled “aspectRatio?”
optionalaspectRatio?: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.
Example
Section titled “Example”'16:9'background?
Section titled “background?”
optionalbackground?: {assetPath:string; } | {backgroundCss:string; }
quality?
Section titled “quality?”
optionalquality?: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.
Example
Section titled “Example”'1080p'recording?
Section titled “recording?”
optionalrecording?:object
Defined in: types.ts:84
dropShadow?
Section titled “dropShadow?”
optionaldropShadow?:string
CSS drop-shadow filter
roundness?
Section titled “roundness?”
optionalroundness?:number
0-1: 0=sharp corners, 1=shorter side is half circle
shape?
Section titled “shape?”
optionalshape?:"rounded"|"squircle"
optionalsize?:number
0-1: 0 causes warning, 1=one side touches background edge
voiceOvers?
Section titled “voiceOvers?”
optionalvoiceOvers?:object
Defined in: types.ts:93
corner?
Section titled “corner?”
optionalcorner?:"top-left"|"top-right"|"bottom-left"|"bottom-right"
dropShadow?
Section titled “dropShadow?”
optionaldropShadow?:string
CSS drop-shadow filter
padding?
Section titled “padding?”
optionalpadding?:number
0-1: 0=nothing, 1=length of shorter side of the frame
roundness?
Section titled “roundness?”
optionalroundness?:number
0-1: 0=square, 1=circle
shape?
Section titled “shape?”
optionalshape?:"rounded"|"squircle"
optionalsize?:number
0-1: 1=mask size equals shorter side of output