PaintedSky.component
README.md
PaintedSky
The scene's hand-painted anime sky. Add it to one entity:
entity.spawn("PaintedSky").component.add("PaintedSky", { preset = "summerClouds" })
| Field | Default | Meaning |
|---|---|---|
preset | summerClouds | Which skyPreset is shown. |
matchLighting | true | Set the scene's directional and ambient light to the preset's. |
transition | 2.5 | Cross-fade seconds during play; edit-mode changes are instant. |
overrides | {} | Preset fields replaced on top of the preset. |
All fields are Synced and saved with the scene, so every player sees the same
sky. sky:use(id) swaps preset and clears overrides. It needs no sibling
components; remove other sky components (Skybox, ProceduralSky) from the
scene, since the engine shows the sky set up last.