ManifestModel
Defined in: asset/AddressableManifest.ts:133
Methods
Section titled “Methods”allAssets()
Section titled “allAssets()”allAssets():
AddressableManifestAsset[]
Defined in: asset/AddressableManifest.ts:175
Every asset across all groups.
Returns
Section titled “Returns”assetByKey()
Section titled “assetByKey()”assetByKey(
key):AddressableManifestAsset|null
Defined in: asset/AddressableManifest.ts:300
Asset by its group-record key (the uuid in editor/WeChat manifests).
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”AddressableManifestAsset | null
assetByPath()
Section titled “assetByPath()”assetByPath(
path):AddressableManifestAsset|null
Defined in: asset/AddressableManifest.ts:305
Asset by its build path.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”AddressableManifestAsset | null
assetPathsInGroup()
Section titled “assetPathsInGroup()”assetPathsInGroup(
name):string[]
Defined in: asset/AddressableManifest.ts:170
Asset paths in a group.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string[]
assetsByLabel()
Section titled “assetsByLabel()”assetsByLabel(
label):AddressableManifestAsset[]
Defined in: asset/AddressableManifest.ts:244
Assets carrying label across all groups, deduped by path.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”assetsInGroup()
Section titled “assetsInGroup()”assetsInGroup(
name):AddressableManifestAsset[]
Defined in: asset/AddressableManifest.ts:164
Assets in a group (empty for an unknown group).
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”bundleMode()
Section titled “bundleMode()”bundleMode(
name):BundleMode
Defined in: asset/AddressableManifest.ts:154
Typed delivery mode of a group (unknown group → local).
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”entries()
Section titled “entries()”entries():
object[]
Defined in: asset/AddressableManifest.ts:185
Every asset carrying its owning group name and record key — the iteration the hot-update diff walks (allAssets() drops both).
Returns
Section titled “Returns”object[]
findAsset()
Section titled “findAsset()”findAsset(
pathOrAddress):AddressableManifestAsset|null
Defined in: asset/AddressableManifest.ts:257
Find an asset by its path or its address (null if absent).
Parameters
Section titled “Parameters”pathOrAddress
Section titled “pathOrAddress”string
Returns
Section titled “Returns”AddressableManifestAsset | null
group()
Section titled “group()”group(
name):AddressableManifestGroup|null
Defined in: asset/AddressableManifest.ts:149
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”AddressableManifestGroup | null
groupNames()
Section titled “groupNames()”groupNames():
string[]
Defined in: asset/AddressableManifest.ts:145
All group names, in manifest order.
Returns
Section titled “Returns”string[]
groupsByMode()
Section titled “groupsByMode()”groupsByMode(
mode):string[]
Defined in: asset/AddressableManifest.ts:159
Group names whose delivery mode equals mode.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”string[]
remoteAssetIdentity()
Section titled “remoteAssetIdentity()”remoteAssetIdentity(
ref):string|null
Defined in: asset/AddressableManifest.ts:326
The stable name of the remote-group asset a ref names — its address,
else the key it is filed under. NOT interchangeable with
remoteAssetPath: a build path is content-addressed, so it names
one revision, while this is what every revision agrees on.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string | null
remoteAssetPath()
Section titled “remoteAssetPath()”remoteAssetPath(
ref):string|null
Defined in: asset/AddressableManifest.ts:316
Build path of a remote-group asset by ANY of its keys — record key (uuid),
address (logical source path, bare and /-rooted), or build path — or null
when the ref is not a remote-delivered asset. Lets a resolver route scene
@uuid refs to remote assets through the CDN (so they hot-update with the
manifest), while local / lazy assets keep their normal resolution.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string | null
resolvePath()
Section titled “resolvePath()”resolvePath(
ref,normalize?):string
Defined in: asset/AddressableManifest.ts:357
Resolve a serialized asset ref (a uuid, an address, or a path) to its
build path. normalize maps a ref to its expected build path (e.g.
toBuildPath); it is applied before the lookups and is the fallback when
nothing matches. This is the single manifest→path resolution used by the
shipped runtimes — callers never re-walk groups to build their own.
Parameters
Section titled “Parameters”string
normalize?
Section titled “normalize?”(ref) => string
Returns
Section titled “Returns”string
revision()
Section titled “revision()”revision():
string|null
Defined in: asset/AddressableManifest.ts:239
The manifest’s build content revision (see deriveManifestRevision), or null on a legacy manifest that predates the field.
Returns
Section titled “Returns”string | null
spineCullingLookup()
Section titled “spineCullingLookup()”spineCullingLookup(): (
skeleton,atlas) =>SpineCullingRect|undefined
Defined in: asset/AddressableManifest.ts:218
The culling contract this build ships for a spine PAIR, or undefined.
Both refs, because there is no useful answer about a skeleton alone. The
atlas is compared as an IDENTITY — @uuid:…, a path and an address all
agree — so one the contract was not made against inherits nothing.
Returns
Section titled “Returns”(skeleton, atlas) => SpineCullingRect | undefined
textureImportLookup()
Section titled “textureImportLookup()”textureImportLookup(): (
ref) =>ParsedTextureImportSettings|undefined
Defined in: asset/AddressableManifest.ts:200
Per-ref texture import settings for every asset that carries them — what a
packaged realm answers RuntimeAssetSource.textureImportSettings with, so
a shipped game samples and 9-slices exactly as the editor did.
Returns
Section titled “Returns”(ref) => ParsedTextureImportSettings | undefined
empty()
Section titled “empty()”
staticempty():ManifestModel
Defined in: asset/AddressableManifest.ts:140
Returns
Section titled “Returns”ManifestModel
fromJson()
Section titled “fromJson()”
staticfromJson(manifest):ManifestModel
Defined in: asset/AddressableManifest.ts:136
Parameters
Section titled “Parameters”manifest
Section titled “manifest”Returns
Section titled “Returns”ManifestModel