java.lang.Object
com.luciad.view.lightspeed.services.effects.ALspGraphicsEffect
com.luciad.view.lightspeed.services.effects.ALspLight
Direct Known Subclasses:
ALspDirectionalLight, TLspAmbientLight

public abstract class ALspLight extends ALspGraphicsEffect
Base class for light sources. This class only defines the color of the light.
Since:
2013.0
  • Constructor Details

    • ALspLight

      protected ALspLight()
      Default constructor. The light's color is set to white.
    • ALspLight

      protected ALspLight(Color aColor)
      Creates a light with the given color.
      Parameters:
      aColor - the light color
  • Method Details

    • getColor

      public Color getColor()
      Returns the light's color.
      Returns:
      the light's color
    • setColor

      public void setColor(Color aColor)
      Sets the light's color.
      Parameters:
      aColor - the new color
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class ALspGraphicsEffect