Skip to content

Intermact API Reference / @intermact/core / sampleFrames

Function: sampleFrames()

sampleFrames(player, options?): RenderSnapshot[]

Defined in: packages/core/src/serialize/frame-hash.ts:117

Sample a player at fixed fps and return the per-frame snapshots (seek-based).

Parameters

player

Player

options?

FrameSampleOptions = {}

Returns

RenderSnapshot[]

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)