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.
Parameters
Section titled “Parameters”module
Section titled “module”ESEngineModule | null
The wasm engine module, or null on a core with no heap — the upload goes through the ResourceManager’s byte path there.
source
Section titled “source”readonly object[]
transcoderProvider?
Section titled “transcoderProvider?”TranscoderProvider
Returns
Section titled “Returns”Promise<Map<string, DragonBonesAssetInfo>>