Class TLspAtmosphere

java.lang.Object
com.luciad.view.lightspeed.services.effects.ALspGraphicsEffect
com.luciad.view.lightspeed.services.effects.TLspAtmosphere

public class TLspAtmosphere extends ALspGraphicsEffect
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 Details

    • TLspAtmosphere

      public TLspAtmosphere()
  • Method Details

    • getSkyColor

      public Color getSkyColor()
      Returns the color of the sky. Only used in geocentric views, where a gradient going from getHorizonColor() to getSkyColor() will be visible on the horizon.
      Returns:
      the color of the sky
    • setSkyColor

      public void setSkyColor(Color aSkyColor)
      Sets the sky color.
      Parameters:
      aSkyColor - the new sky color
      See Also:
    • getHorizonColor

      public Color getHorizonColor()
      Returns the color of the horizon. Only used in geocentric views, where a gradient going from getHorizonColor() to getSkyColor() will be visible on the horizon.
      Returns:
      the color of the horizon
    • setHorizonColor

      public void setHorizonColor(Color aHorizonColor)
      Sets the horizon color.
      Parameters:
      aHorizonColor - the new horizon color
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class ALspGraphicsEffect
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ALspGraphicsEffect