Class AmbientLight
- java.lang.Object
-
- de.coreengine.rendering.renderable.light.AmbientLight
-
- Direct Known Subclasses:
DirectionalLight
,PointLight
public class AmbientLight extends Object
Class that represents an ambient light in the scene- Author:
- Darius Dinger
-
-
Constructor Summary
Constructors Constructor Description AmbientLight()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getColor()
float
getIntensity()
void
setIntensity(float intensity)
-
-
-
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
-
-