Skip to content

RainShelterData

Defined in: sdk/src/render/rainShelter.ts:34

The fields of the RainShelter component.

enabled: boolean

Defined in: sdk/src/render/rainShelter.ts:40

Off: the sprite shelters nothing.


margin: number

Defined in: sdk/src/render/rainShelter.ts:38

Ground around the sprite’s edge that stays dry too, in world units: eaves.


round: boolean

Defined in: sdk/src/render/rainShelter.ts:36

The covered ground is the ellipse inside the sprite’s rectangle (a crown), not the whole of it (a roof).