Repository navigation
API Type AssetFieldKind
github-actions[bot] edited this page Nov 27, 2026
·
2 revisions
type AssetFieldKind = KnownAssetFieldKind | string & object;Defined in: src/engine/core/registry.ts:86
The kind of asset an AssetRef field holds (ADR 0131): what the field needs, not a file format.
The editor offers only matching assets; scene files and scripts may still hold any path.
-
model: model files (glTF, OBJ, FBX…);mesh: a model or a built-in mesh (builtin:cube); -
material: material assets and shader graphs;texture: images;sprite: images and their slices; -
rendertexture,particles,formation,lut(.cube),tileset,scene,prefab: assets of that kind; -
environment: what an Environment'smaptakes (HDR/EXR/DDS/.envmaps, skies, cubemaps, panoramas); -
envmap: a baked.envmap;audio: sound files;font:.ttf,.otf,.woff,.woff2; -
navbake: a baked navigation chunk (.nav.bin).
Any other name is allowed (ADR 0143): a plugin's own asset kind declares the field kinds it
satisfies (referencedAs in the editor), so @field(AssetRef, { kind: "spin" }) offers its files.
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference