VirtualLighting

A lighting type where the position of the light follows the camera and is set behind the camera with a small offset.

Since

300.0.0

See also

Constructors

Link copied to clipboard
constructor(areDirectShadowsEnabled: Boolean)

Creates a virtual lighting for illuminating a scene. Shadows cast by the terrain are not supported. Enabling shadows can impact rendering performance, depending on the amount of data in the scene.

Inherited properties

Link copied to clipboard

True if shadows cast by the main light source should be shown, false otherwise. Shadows cast by the terrain are not supported. Enabling shadows can impact rendering performance, depending on the amount of data in the scene. The default value is false.