Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

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 entity carrying the scene's directional light, spawning one when the scene has none, so the call always leaves the scene lit by the requested sun, and reports the entity it wrote.