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.
Parameters
Section titled “Parameters”projectRelPath
Section titled “projectRelPath”string
config
Section titled “config”AssetGroupsConfig | null | undefined
Returns
Section titled “Returns”ResolvedAtlas | null