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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the color of the horizon.Returns the color of the sky.inthashCode()voidsetHorizonColor(Color aHorizonColor) Sets the horizon color.voidsetSkyColor(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:
equalsin classALspGraphicsEffect
-
hashCode
public int hashCode()- Overrides:
hashCodein classALspGraphicsEffect
-