Interface: SmilExportableScene
Defined in: src/export/SmilExporter.ts:39
A scene that can be seeked to a time, so it can be sampled per keyframe.
Extends
Properties
camera
camera:
SvgExportableCamera
Defined in: src/export/SvgExporter.ts:55
The scene camera (orthographic 2D frame).
Inherited from
mobjects
mobjects:
Iterable<{userId?:string;getFamily:unknown[]; }>
Defined in: src/export/SvgExporter.ts:57
Top-level mobjects, in insertion (draw) order.
Inherited from
Methods
getHeight()
getHeight():
number
Defined in: src/export/SvgExporter.ts:53
Canvas height in pixels.
Returns
number
Inherited from
getTimelineDuration()?
optionalgetTimelineDuration():number
Defined in: src/export/SmilExporter.ts:43
Optional total animation duration in seconds, read when not given.
Returns
number
getWidth()
getWidth():
number
Defined in: src/export/SvgExporter.ts:51
Canvas width in pixels.
Returns
number
Inherited from
seek()
seek(
t):void
Defined in: src/export/SmilExporter.ts:41
Seek the scene (and its mobjects) to time t in seconds.
Parameters
t
number
Returns
void