public class GLLightManager
extends java.lang.Object
Constructor and Description |
---|
GLLightManager() |
Modifier and Type | Method and Description |
---|---|
void |
addLight(Light light) |
void |
clearLights() |
Light |
createLight(float[] position,
float[] ambient,
float[] diffuse,
float[] specular) |
Light |
getLight(int id) |
java.util.ArrayList<Light> |
getLights() |
float |
getMaxIntensity()
Intensity for scaling light parameters for
HDR->LDR |
int |
indexOfLight(Light light) |
int |
maxLights() |
int |
numLights() |
boolean |
removeLight(int id) |
boolean |
removeLight(Light light) |
void |
setMaxIntensity(float intensity)
Intensity for scaling light parameters for
HDR->LDR |
void |
setMaxLights(int max) |
public void setMaxLights(int max)
public Light createLight(float[] position, float[] ambient, float[] diffuse, float[] specular)
public void addLight(Light light)
public boolean removeLight(Light light)
public boolean removeLight(int id)
public Light getLight(int id)
public int indexOfLight(Light light)
public java.util.ArrayList<Light> getLights()
public int numLights()
public int maxLights()
public void clearLights()
public void setMaxIntensity(float intensity)
HDR->LDR
public float getMaxIntensity()
HDR->LDR