跳转到内容

loadDragonBonesAssets

此内容尚不支持你的语言。

loadDragonBonesAssets(module, source, pairs, transcoderProvider?): Promise<Map<string, DragonBonesAssetInfo>>

Defined in: dragonbones/loadDragonBonesScene.ts:92

Phase 1 — fetch each pair’s skeleton and atlas and upload the atlas image. Keyed by skeletonRef:atlasRef for applyDragonBonesEntities.

ESEngineModule | null

The wasm engine module, or null on a core with no heap — the upload goes through the ResourceManager’s byte path there.

RuntimeAssetSource

readonly object[]

TranscoderProvider

Promise<Map<string, DragonBonesAssetInfo>>