Skip to content

Kiln API / kiln / Instanced

Variable: Instanced ​

ts
const Instanced: Trait<() => string>;

Renders this entity as one instance of a shared InstancedMesh: Instanced('bullet'), after defineInstanced('bullet', { geometry, material }). The default path for crowds, bullets, foliage.