Scene Environment
constructor()
Creates a default environment object. The defaults are: opaque black background, VirtualLighting lighting, and atmosphere and stars enabled.
Since
300.0.0
constructor(isAtmosphereEnabled: Boolean, areStarsEnabled: Boolean, lighting: SceneLighting, backgroundColor: Color)
Creates an environment object.
Since
300.0.0
Parameters
is Atmosphere Enabled
True if the atmosphere should be visualized, false otherwise. This includes sky and haze effects.
are Stars Enabled
True if stars should be visualized, false otherwise.
lighting
The lighting object containing information on how the scene is lit.
background Color
The background color displayed behind any scene objects.