Class AmbientLight

  • Direct Known Subclasses:
    DirectionalLight, PointLight

    public class AmbientLight
    extends Object
    Class that represents an ambient light in the scene
    Author:
    Darius Dinger
    • Constructor Detail

      • AmbientLight

        public AmbientLight()
    • Method Detail

      • getColor

        public Color getColor()
        Returns:
        Lights color to read or write
      • setIntensity

        public void setIntensity​(float intensity)
        Parameters:
        intensity - New light intensity
      • getIntensity

        public float getIntensity()
        Returns:
        Current light intensity