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

CharacterViewProps

What a character view takes, the engine’s CharacterView and a game’s own alike. The engine places the view where the character stands, so it draws in the character’s own space: feet at the origin, facing its way.

Property Type Description
appearance? CharacterAppearance A look for this draw alone, taken whole over the appearance the character’s traits stream, so a game’s view draws the engine’s posed body for a model it picks, such as one per class.
children? CharacterOverlay The game’s own overlay, drawn inside the character’s body so it follows the character: a bar over its head, the item its hand holds. Handed its height.
cullingMode? AnimationCulling Whether its avatar is posed while the camera shows it small or not at all, as Unity’s Animator.cullingMode: what an <Npc> names. Left out, the character this page steers always animates and every other is culled.
entity Entity The character it draws.