Class TLspAmbientLight


public class TLspAmbientLight extends ALspLight
Defines ambient light, a light of fixed intensity which affects all objects equally. Ambient light is typically only used in combination with a directional light, to keep surfaces which are facing away from the light from becoming completely black.
Since:
2013.0
  • Constructor Details

    • TLspAmbientLight

      public TLspAmbientLight()
      Creates an ambient light. The default color is (64, 64, 64).
    • TLspAmbientLight

      public TLspAmbientLight(Color aColor)
      Creates an ambient light with the given color.
      Parameters:
      aColor - the ambient color