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

LeafCard

One card of a crown.

Property Type Default value Description
color? ColorRepresentation white Multiplied into the texture: the card’s tint and its shade inside the crown, which the builder paints.
crownCenter Position undefined The centre of the crown it belongs to, which its normal points out from, so the crown’s sunward side lights and its underside shades. A card at the centre points up.
position Position undefined The card’s centre, in the component’s own space.
rollRadians? number 0 Radians the card turns in its own plane, so a crown’s cards do not line up.
size? number 2 Metres across the square card, its full extent.
windWeight? number 1 The share of the sway it takes in the look’s wind, from 0, held, to 1, a crown’s free edge.