跳转到内容

resolveAtlas

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

resolveAtlas(projectRelPath, config): ResolvedAtlas | null

Defined in: asset/assetGroups.ts:107

The atlas a texture belongs to, or null for a standalone one. Priority mirrors resolveAssetGroup: an explicit config.atlases entry (longest folder prefix), else the <name>.atlas/ folder convention, whose identity is the DIRECTORY PATH so same-named dirs stay distinct atlases.

string

AssetGroupsConfig | null | undefined

ResolvedAtlas | null