Class TLspAtmosphere
java.lang.Object
com.luciad.view.lightspeed.services.effects.ALspGraphicsEffect
com.luciad.view.lightspeed.services.effects.TLspAtmosphere
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(java.awt.Color)
and
setSkyColor(java.awt.Color)
. If the view has a grid reference, a
static, panoramic background image is drawn instead (known as a "skybox").- Since:
- 2013.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the color of the horizon.Returns the color of the sky.int
hashCode()
void
setHorizonColor
(Color aHorizonColor) Sets the horizon color.void
setSkyColor
(Color aSkyColor) Sets the sky color.Methods inherited from class com.luciad.view.lightspeed.services.effects.ALspGraphicsEffect
addPropertyChangeListener, firePropertyChange, isEnabled, removePropertyChangeListener, setEnabled
-
Constructor Details
-
TLspAtmosphere
public TLspAtmosphere()
-
-
Method Details
-
getSkyColor
Returns the color of the sky. Only used in geocentric views, where a gradient going fromgetHorizonColor()
togetSkyColor()
will be visible on the horizon.- Returns:
- the color of the sky
-
setSkyColor
Sets the sky color.- Parameters:
aSkyColor
- the new sky color- See Also:
-
getHorizonColor
Returns the color of the horizon. Only used in geocentric views, where a gradient going fromgetHorizonColor()
togetSkyColor()
will be visible on the horizon.- Returns:
- the color of the horizon
-
setHorizonColor
Sets the horizon color.- Parameters:
aHorizonColor
- the new horizon color- See Also:
-
equals
- Overrides:
equals
in classALspGraphicsEffect
-
hashCode
public int hashCode()- Overrides:
hashCode
in classALspGraphicsEffect
-