Interface: SmilExportOptions
Defined in: src/export/SmilExporter.ts:51
Options for an animated (SMIL) SVG export.
Properties
attributes?
optionalattributes:SmilAnimatableAttribute[]
Defined in: src/export/SmilExporter.ts:65
Which attributes may animate. Defaults to all of them.
background?
optionalbackground:string
Defined in: src/export/SmilExporter.ts:55
Solid background color drawn behind everything. Omit for transparent.
duration?
optionalduration:number
Defined in: src/export/SmilExporter.ts:57
Total animation duration in seconds. Falls back to the scene timeline.
fps?
optionalfps:number
Defined in: src/export/SmilExporter.ts:59
Keyframes per second used to pick the sample count. Defaults to 15.
keyframes?
optionalkeyframes:number
Defined in: src/export/SmilExporter.ts:61
Explicit number of keyframes (>= 2). Overrides fps when given.
loop?
optionalloop:boolean
Defined in: src/export/SmilExporter.ts:63
Repeat forever (repeatCount="indefinite"). Defaults to true.
precision?
optionalprecision:number
Defined in: src/export/SmilExporter.ts:53
Decimal places for numeric attributes. Defaults to 3.
preferTransform?
optionalpreferTransform:boolean
Defined in: src/export/SmilExporter.ts:70
Emit pure-translation motion as <animateTransform type="translate"> with
a static path, instead of animating d. Defaults to false.