VirtualLighting

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.

Since

300.0.0

Parameters

areDirectShadowsEnabled

True if shadows cast by the sun are shown, false otherwise.