Intermact API Reference / @intermact/react / FrameSequenceOptions
Interface: FrameSequenceOptions
Defined in: react/src/export/recordCanvas.ts:99
Options for deterministic frame-sequence export.
Properties
duration?
readonlyoptionalduration?:number
Defined in: react/src/export/recordCanvas.ts:103
Seconds to export (default: the player's duration).
fps?
readonlyoptionalfps?:number
Defined in: react/src/export/recordCanvas.ts:101
Frames per second (default 30).
renderFrame?
readonlyoptionalrenderFrame?: (time) =>void
Defined in: react/src/export/recordCanvas.ts:109
Force a synchronous redraw of canvas after each player.seek. Wire this to your R3F gl.render(scene, camera) (or call from a useFrame-driven loop) so the captured pixels match the seeked frame.
Parameters
time
number
Returns
void