org.jzy3d.plot3d.rendering.lights
Class LightSet
java.lang.Object
org.jzy3d.plot3d.rendering.lights.LightSet
public class LightSet
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LightSet
public LightSet()
LightSet
public LightSet(java.util.List<Light> lights)
init
public void init(javax.media.opengl.GL gl)
apply
public void apply(javax.media.opengl.GL gl,
Coord3d scale)
enableLightIfThereAreLights
public void enableLightIfThereAreLights(javax.media.opengl.GL gl)
enable
public void enable(javax.media.opengl.GL gl,
boolean onlyIfAtLeastOneLight)
disable
public void disable(javax.media.opengl.GL gl)
get
public Light get(int id)
add
public void add(Light light)
remove
public void remove(Light light)