public class AmbientLight extends ColorLayer
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
DEFAULT_COLOR |
Constructor and Description |
---|
AmbientLight(Environment env,
java.awt.Color ambientColor) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearSection(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D section) |
protected void |
renderSection(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D section) |
getColor, getEnvironment, render, setAlpha, setColor, updateSection
public AmbientLight(Environment env, java.awt.Color ambientColor)
protected void renderSection(java.awt.Graphics2D g, java.awt.geom.Rectangle2D section)
renderSection
in class ColorLayer
protected void clearSection(java.awt.Graphics2D g, java.awt.geom.Rectangle2D section)
clearSection
in class ColorLayer