skyZenithColor property

Color? skyZenithColor
getter/setter pair

Sky color straight up for a world-locked gradient sky.

When this or skyGroundColor is set, retained GPU renderers draw a three-stop gradient dome — skyZenithColor overhead, backgroundColor at the horizon, skyGroundColor below — that turns with the viewer's head instead of a flat screen-space background. Leave both null for enclosed interiors: the dome is a full-screen pass drawn behind the geometry every frame, wasted where a ceiling covers it.

Implementation

Color? skyZenithColor;