Appearance
Export and import scripts / Hm05Script / RenderFrameOptions
Interface: RenderFrameOptions
Which timeline to look at. Default: the Export dialog's "Timeline".
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
background? | string | null | "#rrggbb(aa)"; null = transparent. Default: the dialog's choice | - |
frame? | number | 0-based. Without scene: counted across all scenes of the timeline (they play one after another). Default 0. | FrameQuery.frame |
layers? | string[] | "export" | "all" | "export" (default) = the layers the Export dialog picked; "all" = every layer that draws (hidden ones included); or a list of layer ids / names | LayerChoice.layers |
padding? | number | pixels added around the region (default 0) | - |
region? | Bounds | "export" | "content" | "stage" | "export" (default) = one box for every frame of the export, so the frames line up; "content" = this frame's art; "stage"; or a box in timeline units | - |
scale? | number | default: the Export dialog's Scale | - |
scene? | string | scene id or name: frame is then inside that scene | FrameQuery.scene |
symbol? | string | null | symbol id or name; null or "" = the main timeline | FrameQuery.symbol |