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

ModelFile

ModelFile(props): Element

A GLB or VRM file drawn as the engine draws a model, with no entity and no World around it, as an editor’s preview draws one: stood on its lowest point with its origin across the ground, a VRM 0 avatar turned to face +z as a VRM 1 does, casting and receiving shadows, playing the clip animation names, and a VRM’s springs updated each frame. It draws the loaded file itself rather than a copy, since a VRM’s springs are bound to the file’s own bones, so two on one page take two URLs.

Parameter Type
props ModelFileProps

Element