LuciadCPillar C# 2026.1.02
Loading...
Searching...
No Matches
Luciad.Maps.Effects.ScatteringAtmosphereModel Class Referencesealed

Atmosphere model that draws a physically based Rayleigh/Mie scattering sky. More...

Inheritance diagram for Luciad.Maps.Effects.ScatteringAtmosphereModel:
Luciad.Maps.Effects.AtmosphereModel

Classes

class  Builder
 Builder for a ScatteringAtmosphereModel. More...

Public Member Functions

Luciad.Maps.Effects.ScatteringAtmosphereModel.Builder AsBuilder ()
 Creates a builder pre-filled with this model's parameters.
override bool Equals (object other)
 Returns whether this model is equal to another.
override int GetHashCode ()
Public Member Functions inherited from Luciad.Maps.Effects.AtmosphereModel
void Dispose ()

Static Public Member Functions

static Luciad.Maps.Effects.ScatteringAtmosphereModel.Builder NewBuilder ()
 Creates a new builder with the default scattering parameters.

Properties

double Brightness [get]
 The scattering brightness.
bool IsAerialPerspectiveEnabled [get]
 Whether aerial perspective is enabled, tinting the terrain surface in addition to the sky.
double MieAnisotropy [get]
 The Mie anisotropy.
double MieFactor [get]
 The Mie scattering strength.
double RayleighFactor [get]
 The Rayleigh scattering strength.

Detailed Description

Atmosphere model that draws a physically based Rayleigh/Mie scattering sky.

This requires a geocentric 3D view and a light configured through GraphicsEffects.Light. Without both, the effect falls back to the gradient model. Rendering it has a minor additional performance cost compared to the gradient model.

Since
2026.1

Member Function Documentation

◆ AsBuilder()

Luciad.Maps.Effects.ScatteringAtmosphereModel.Builder Luciad.Maps.Effects.ScatteringAtmosphereModel.AsBuilder ( )
inline

Creates a builder pre-filled with this model's parameters.

Returns
a builder pre-filled with this model's parameters.

◆ Equals()

override bool Luciad.Maps.Effects.ScatteringAtmosphereModel.Equals ( object other)
inline

Returns whether this model is equal to another.

Parameters
otherthe model to compare with.
Returns
whether this model is equal to another.

◆ GetHashCode()

override int Luciad.Maps.Effects.ScatteringAtmosphereModel.GetHashCode ( )
inline

◆ NewBuilder()

Luciad.Maps.Effects.ScatteringAtmosphereModel.Builder Luciad.Maps.Effects.ScatteringAtmosphereModel.NewBuilder ( )
inlinestatic

Creates a new builder with the default scattering parameters.

Returns
a new builder.

Property Documentation

◆ Brightness

double Luciad.Maps.Effects.ScatteringAtmosphereModel.Brightness
get

The scattering brightness.

[get]

Returns the scattering brightness.

◆ IsAerialPerspectiveEnabled

bool Luciad.Maps.Effects.ScatteringAtmosphereModel.IsAerialPerspectiveEnabled
get

Whether aerial perspective is enabled, tinting the terrain surface in addition to the sky.

[get]

Returns whether aerial perspective is enabled, tinting the terrain surface in addition to the sky. Aerial perspective is the phenomenon where distant terrain takes on the atmosphere's color and fades toward the horizon with distance.

◆ MieAnisotropy

double Luciad.Maps.Effects.ScatteringAtmosphereModel.MieAnisotropy
get

The Mie anisotropy.

[get]

Returns the Mie anisotropy.

◆ MieFactor

double Luciad.Maps.Effects.ScatteringAtmosphereModel.MieFactor
get

The Mie scattering strength.

[get]

Returns the Mie scattering strength.

◆ RayleighFactor

double Luciad.Maps.Effects.ScatteringAtmosphereModel.RayleighFactor
get

The Rayleigh scattering strength.

[get]

Returns the Rayleigh scattering strength.