Appearance
Kiln API / kiln / Model
const Model: Trait<() => AssetHandle<GLTF> | null>;
A model to show once loaded: commands.spawn(Transform, Model(res.get(Assets).gltf('ship.glb'))). When the handle is ready, the entity gets a MeshRef with a shared-geometry instance.
commands.spawn(Transform, Model(res.get(Assets).gltf('ship.glb')))