de.grogra.gpuflux.scene.light
public abstract class FluxLight extends FluxObject
| Modifier and Type | Field and Description |
|---|---|
protected Light |
light |
protected static int |
LIGHT_AREA |
protected static int |
LIGHT_DIRECTIONAL |
protected static int |
LIGHT_PHYSICAL |
protected static int |
LIGHT_POINT |
protected static int |
LIGHT_SKY |
protected static int |
LIGHT_SPECTRAL |
protected static int |
LIGHT_SPOT |
| Modifier and Type | Method and Description |
|---|---|
Light |
getLight() |
int |
getSampleCount() |
protected Matrix4d |
getTransformation() |
protected void |
serializeLightBase(ComputeByteBuffer out,
int type,
Tuple3f power,
SpectralCurve SPD) |
void |
setTransformation(Matrix4d transformation) |
getOffset, serialize, setOffsetprotected Light light
protected static final int LIGHT_AREA
protected static final int LIGHT_DIRECTIONAL
protected static final int LIGHT_PHYSICAL
protected static final int LIGHT_POINT
protected static final int LIGHT_SKY
protected static final int LIGHT_SPECTRAL
protected static final int LIGHT_SPOT
public FluxLight(Light light)
public Light getLight()
public int getSampleCount()
protected Matrix4d getTransformation()
protected void serializeLightBase(ComputeByteBuffer out, int type, Tuple3f power, SpectralCurve SPD) throws java.io.IOException
java.io.IOExceptionpublic void setTransformation(Matrix4d transformation)