PackagedAssetIndex
此内容尚不支持你的语言。
Defined in: runtime/packagedRuntime.ts:118
The packaged realm’s resolved asset index — manifest, catalog, resolution.
Properties
Section titled “Properties”catalog?
Section titled “catalog?”
optionalcatalog?:Catalog
Defined in: runtime/packagedRuntime.ts:123
Logical → staged mapping for the loaders’ inner refs; absent when the build stages assets under their logical paths (nothing to remap).
manifest
Section titled “manifest”manifest:
AddressableManifest
Defined in: runtime/packagedRuntime.ts:119
model:
ManifestModel
Defined in: runtime/packagedRuntime.ts:120
Methods
Section titled “Methods”addressOf()
Section titled “addressOf()”addressOf(
ref):string|null
Defined in: runtime/packagedRuntime.ts:129
The asset’s LOGICAL source path for any ref spelling (including its own staged path), or null when unknown — recovers the authored directory a content-addressed rename hid.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string | null
assetPaths()
Section titled “assetPaths()”assetPaths():
string[]
Defined in: runtime/packagedRuntime.ts:131
Every staged asset path — content-driven discovery (locale tables).
Returns
Section titled “Returns”string[]
resolvePath()
Section titled “resolvePath()”resolvePath(
ref):string
Defined in: runtime/packagedRuntime.ts:125
Resolve any ref spelling (@uuid:, logical, “/”-rooted) to a staged path.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
spineCulling()
Section titled “spineCulling()”spineCulling(
skeleton,atlas):SpineCullingRect|undefined
Defined in: runtime/packagedRuntime.ts:135
The culling contract shipped for a spine PAIR, for any ref spelling.
Parameters
Section titled “Parameters”skeleton
Section titled “skeleton”string
string
Returns
Section titled “Returns”SpineCullingRect | undefined
textureImport()
Section titled “textureImport()”textureImport(
ref):ParsedTextureImportSettings|undefined
Defined in: runtime/packagedRuntime.ts:133
How a texture is sampled and 9-sliced, for any ref spelling.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”ParsedTextureImportSettings | undefined