skyEnvironment property

SkyEnvironment? skyEnvironment
getter/setter pair

Drives environment from a sky on a refresh policy, or null (the default) to leave environment caller-managed.

While set, the binding owns environment: the sky is baked into the image-based lighting when the binding is assigned, then re-baked per SkyEnvironment.refresh (manually invalidated, on an interval, or every frame). Setting it back to null keeps the last baked environment.

Implementation

SkyEnvironment? skyEnvironment;