Skip to content

@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? ​

optional audio?: Partial<AudioImportSettings>

Audio import settings (audio assets only). Edited via the Audio Inspector; consumed by the ffmpeg conversion service + runtime resolver.


audioCache? ​

optional audioCache?: AudioCacheInfo

Content-cache bookkeeping written by the audio conversion service.


font? ​

optional font?: FontImportSettings

Font import settings (font assets only). Edited via the Font Inspector; consumed by the msdf-atlas-gen conversion service + runtime font loader.


fontCache? ​

optional fontCache?: FontCacheInfo

Content-cache bookkeeping written by the font conversion service.


generated? ​

optional generated?: object

Files produced from this binary by the importer — used for cleanup.

Assets & GUIDs ​

materials? ​

optional materials?: string[]

meshes? ​

optional meshes?: string[]

textures? ​

optional textures?: string[]


id ​

id: string


loader? ​

optional loader?: string

Importer/loader ID (e.g., 'island', 'default'). Optional — only models have one.


model? ​

optional model?: ModelImportSettings

Model import settings (GLB assets only). Edited via the Model Inspector; consumed by the conversion service + runtime mesh-template cache.


modelCache? ​

optional modelCache?: ModelCacheInfo

Content-cache bookkeeping written by the model conversion service — LOD GLB paths, switch distances, tri counts, byte sizes.


sprites? ​

optional sprites?: 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? ​

optional spriteSheet?: SpriteSheetInfo

Source-image dimensions the sprites[] rects were authored against (for variant-downscale frame scaling). Written by the Sprite Editor.


texture? ​

optional texture?: TextureImportSettings

Texture import settings (texture assets only). Edited via the Texture Inspector; consumed by the conversion service + runtime resolver.


textureCache? ​

optional textureCache?: TextureCacheInfo

Content-cache bookkeeping written by the conversion service.


version ​

version: 2

Built with Modoki.