lighting.toolbox
This package holds more than this page lists. See all of its files in its world.
README.md
lighting.setSun
Sets the scene's directional sun — the primary light that casts the main shadows — with an optional direction, color, and intensity. It configures the light carrying the scene's sun: a placed scene setup's sun takes the values as that placement's overrides (a direction also takes it off the sky it followed), and a scene with no setup has its own directional light entity written, spawned when the scene has none. The call leaves the scene lit by the requested sun and reports the entity it wrote.