English
Function: resolveInstancePacks()
resolveInstancePacks(
opts):Promise<void>
Defined in: ssplayer-core/dist/index.d.ts:3009
Resolve and load every animation pack referenced by PartType::Instance parts of rootSsab, transitively. Referenced packs are served by provider or fetched as sibling .ssab files (<assetBaseUrl>/<packName>.ssab), and fetched packs' textures are loaded into the shared (hash-keyed) ResourceManager cache so instanced sub-animations resolve their cells. Resolved resources are stored in into, keyed by pack hash, so same-pack references reuse one resource; the caller hands into to the runtime, which creates the child contexts on setupAnimation.
Parameters
opts
Returns
Promise<void>