Skip to content

Export and import scripts / Hm05Script / RenderFrameOptions

Interface: RenderFrameOptions ​

Which timeline to look at. Default: the Export dialog's "Timeline".

Extends ​

Properties ​

PropertyTypeDescriptionInherited from
background?string | null"#rrggbb(aa)"; null = transparent. Default: the dialog's choice-
frame?number0-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 / namesLayerChoice.layers
padding?numberpixels 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?numberdefault: the Export dialog's Scale-
scene?stringscene id or name: frame is then inside that sceneFrameQuery.scene
symbol?string | nullsymbol id or name; null or "" = the main timelineFrameQuery.symbol

HereSplash — 2D animation for the web