SceneEnvironment

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

isAtmosphereEnabled

True if the atmosphere should be visualized, false otherwise. This includes sky and haze effects.

areStarsEnabled

True if stars should be visualized, false otherwise.

lighting

The lighting object containing information on how the scene is lit.

backgroundColor

The background color displayed behind any scene objects.