Options to create a sun light.

interface CreateSunLightOptions {
    ambientColor?: string;
    diffuseColor?: string;
    shadows?: null | boolean | ShadowSettings;
    time?: Date;
}

Hierarchy (View Summary)

Properties

ambientColor?: string

The illumination color for ambient light rather than direct light.

diffuseColor?: string

The color of the light.

shadows?: null | boolean | ShadowSettings

Indicates whether the light should cast shadows in 3D views. Optionally, the shadow settings can be tuned to improve performance or quality.

time?: Date

The time (default is current time).