LuciadRIA (2026.1.02)
    Preparing search index...

    A LightScatteringAtmosphere allows you to apply an atmosphere effect on a 3D map that approximates the behavior of light in the atmosphere.

    The sky adapts to the lighting set on the GraphicsEffects of the map. This will result in blue skies during the day and yellowish to reddish hues at dawn and dusk. The terrain can also be made to look brighter when viewed from higher altitudes.

    Lighting must be enabled to use this effect.

      map.effects.atmosphere = new LightScatteringAtmosphere();
    

    2020.1

    • get aerialPerspective(): boolean

      Indicates whether aerial perspective is applied to the terrain. With aerial perspective, distant terrain takes on the color of the atmosphere and fades towards the horizon as distance increases: the same scattering that colors the sky, applied to the terrain surface. This strengthens the perception of depth and scale in the view.

      Returns boolean

      false
      

      2026.1

    • set aerialPerspective(aerialPerspective: boolean): void

      Parameters

      • aerialPerspective: boolean

      Returns void

    • get affectsTerrain(): boolean

      Indicates whether the atmosphere also affects the color of the terrain.

      Returns boolean

      false
      

      Use aerialPerspective instead.

    • set affectsTerrain(affectsTerrain: boolean): void

      Parameters

      • affectsTerrain: boolean

      Returns void

    • get brightness(): number

      The brightness of the sunlight.

      Values should be a positive floating point number, generally between 2 and 6. Other values are accepted, but not recommended.

      Returns number

      2
      
    • set brightness(brightness: number): void

      Parameters

      • brightness: number

      Returns void

    • get mieAnisotropy(): number

      The degree to which the Mie haze clusters around the sun, in the range [0, 1). A value of 0 spreads the haze evenly across the sky, while higher values concentrate it into a tighter, brighter glow around the sun. Typical values are between 0.75 and 1.

      Returns number

      0.95
      

      2026.1

    • set mieAnisotropy(mieAnisotropy: number): void

      Parameters

      • mieAnisotropy: number

      Returns void

    • get mieScatteringFactor(): number

      This factor allows you to increase or decrease the effect of Mie scattering in the atmosphere. Mie scattering is the scattering of light by aerosols (dust, pollen, smoke, microscopic water droplets, etc.). On a hazy day, Mie scattering causes the sky to look a bit gray and causes the sun to have a large white halo around it.

      Values should be a positive floating point number, generally between 1 and 3. Other values are accepted, but not recommended.

      Returns number

      1
      
    • set mieScatteringFactor(mieScatteringFactor: number): void

      Parameters

      • mieScatteringFactor: number

      Returns void

    • get rayleighScatteringFactor(): number

      This factor allows you to increase or decrease the effect of Rayleigh scattering in the atmosphere. Rayleigh scattering is the scattering of sunlight by air molecules. It is the reason for the blue color of the daytime and twilight sky, and the yellowish to reddish hue of the low sun.

      Values should be a positive floating point number, generally between 1 and 3. Other values are accepted, but not recommended.

      Returns number

      1
      
    • set rayleighScatteringFactor(rayleighScatteringFactor: number): void

      Parameters

      • rayleighScatteringFactor: number

      Returns void