Skybox class Lighting and environment

The visible background drawn behind a Scene.

Assign one to Scene.skybox. The skybox is decoupled from the scene's image-based lighting (Scene.environment): the default EnvironmentSkySource shows that same environment, but the two can be set independently. The engine draws the skybox behind all scene geometry at the far plane; you never place or order any geometry yourself.

Constructors

Skybox(SkySource source, {double intensity = 1.0})

Properties

hashCode int
The hash code for this object.
no setterinherited
intensity double
Scales the sampled radiance for EnvironmentSkySource. It is combined with Scene.environmentIntensity, so a default skybox showing the environment matches the brightness of image-based reflections. A ShaderSkySource controls its own brightness and ignores this.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source SkySource
What the sky looks like.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited