Object containing information for the virtual lighting type. The position of the light follows the camera and is set behind the camera with a small offset to the left side.

See https://developers.arcgis.com/web-scene-specification/objects/sunLighting/.

interface VirtualLightingJson {
    directShadows?: boolean;
    type: "virtual";
}

Properties

Properties

directShadows?: boolean

Indicates whether to show shadows cast by the main light source.

type

The type of lighting.