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

registerAvatar

registerAvatar(name, body): Disposer

Names a VRM body for <CharacterSpawn avatar>, so a room can put the name on the wire and every page draws the character in it. The return forgets it.

Parameter Type
name string
body VrmBody

Disposer