Skip to content

resolveAtlas

resolveAtlas(projectRelPath, config): ResolvedAtlas | null

Defined in: sdk/src/asset/assetGroups.ts:100

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