Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

ModelTrait

const ModelTrait: Trait<{ animation: string; name: string; }>

The registered model the entity is drawn as, by name, and the name of the file’s clip it loops, empty for none: data here, so a client fed from a room’s stream knows what to draw for an entity it did not spawn, and a dump says which clip it asks for where no model is drawn. The view resolves the name to a file.