@modoki/engine / index / BinaryAssetMeta
Interface: BinaryAssetMeta
Sidecar .meta.json written next to binary assets (.glb, .hdr, .png/.jpg). Carries the stable UUID plus importer state (e.g., the list of derived files produced from a GLB so they can be cleaned up on delete).
Assets & GUIDs
audio?
optionalaudio?:Partial<AudioImportSettings>
Audio import settings (audio assets only). Edited via the Audio Inspector; consumed by the ffmpeg conversion service + runtime resolver.
audioCache?
optionalaudioCache?:AudioCacheInfo
Content-cache bookkeeping written by the audio conversion service.
font?
optionalfont?:FontImportSettings
Font import settings (font assets only). Edited via the Font Inspector; consumed by the msdf-atlas-gen conversion service + runtime font loader.
fontCache?
optionalfontCache?:FontCacheInfo
Content-cache bookkeeping written by the font conversion service.
generated?
optionalgenerated?:object
Files produced from this binary by the importer — used for cleanup.
Assets & GUIDs
materials?
optionalmaterials?:string[]
meshes?
optionalmeshes?:string[]
textures?
optionaltextures?:string[]
id
id:
string
loader?
optionalloader?:string
Importer/loader ID (e.g., 'island', 'default'). Optional — only models have one.
model?
optionalmodel?:ModelImportSettings
Model import settings (GLB assets only). Edited via the Model Inspector; consumed by the conversion service + runtime mesh-template cache.
modelCache?
optionalmodelCache?:ModelCacheInfo
Content-cache bookkeeping written by the model conversion service — LOD GLB paths, switch distances, tri counts, byte sizes.
sprites?
optionalsprites?:SpriteSlice[]
Sliced sprites carved from this texture (texture assets in "multiple" mode). Edited via the Sprite Editor; each slice gets a stable GUID + registers as a 'sprite' manifest entry. Absent ⇒ the texture is a single whole-image sprite.
spriteSheet?
optionalspriteSheet?:SpriteSheetInfo
Source-image dimensions the sprites[] rects were authored against (for variant-downscale frame scaling). Written by the Sprite Editor.
texture?
optionaltexture?:TextureImportSettings
Texture import settings (texture assets only). Edited via the Texture Inspector; consumed by the conversion service + runtime resolver.
textureCache?
optionaltextureCache?:TextureCacheInfo
Content-cache bookkeeping written by the conversion service.
version
version:
2