Skip to content

serializeAnimClip

serializeAnimClip(asset): Record<string, unknown>

Defined in: animation/AnimClipLoader.ts:357

Serialize an AnimClipAssetData to a plain JSON-ready object (drops empty/undefined). Stamps the CURRENT format version: whatever the file said when it was read, this writer produced what is on disk now — a clip that gained 1.4 anchors must not keep claiming 1.3.

AnimClipAssetData

Record<string, unknown>