Skip to content

Intermact API Reference / @intermact/core / sampleFrameHashes

Function: sampleFrameHashes()

sampleFrameHashes(player, options?): string[]

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

Sample a player at fixed fps and return per-frame snapshot hashes.

Parameters

player

Player

options?

FrameSampleOptions = {}

Returns

string[]

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