LuciadCPillar C# 2024.0.08
|
Graphics effect which adds a sky/atmosphere background to a 3D view. More...
Public Member Functions | |
void | Dispose () |
Properties | |
System.Drawing.Color | HorizonColor [get, set] |
The horizon color. More... | |
bool | IsEnabled [get, set] |
Whether the atmosphere effect is enabled. More... | |
System.Drawing.Color | SkyColor [get, set] |
The sky color. More... | |
Graphics effect which adds a sky/atmosphere background to a 3D view.
This effect is only applied in 3D views.
If the view has a geocentric reference, an atmospheric glow effect is drawn around the globe. The colors of this glow can be configured using setHorizonColor()
and setSkyColor()
.
You cannot create an AtmosphereEffect
. Instead, you can retrieve it from GraphicsEffects.Atmosphere
.
|
inline |
|
getset |
The horizon color.
Returns the horizon color. Only used in geocentric views, where a gradient going from getHorizonColor()
to getSkyColor()
will be visible on the horizon.
Sets the horizon color.
|
getset |
Whether the atmosphere effect is enabled.
Returns whether the atmosphere effect is enabled.
Sets whether the atmosphere effect is enabled. The default is true
.
|
getset |
The sky color.
Returns the sky color. Only used in geocentric views, where a gradient going from getHorizonColor()
to getSkyColor()
will be visible on the horizon.
Sets the sky color.