public abstract class Light extends SceneObject
Modifier and Type | Class and Description |
---|---|
static class |
Light.Type |
Constructor and Description |
---|
Light(Light.Type type) |
Modifier and Type | Method and Description |
---|---|
abstract float[] |
getLightVector()
Get a vector characteristic for this light
|
Light.Type |
getType()
Get the type of this light
|
abstract void |
update(float[] viewMatrix)
Update the characteristic vector of this light
|
attachTo, detach, getAbsolutePos, getModelMatrix, getParent, getRelativePos, onTransformed
public Light(Light.Type type)
public Light.Type getType()
public abstract float[] getLightVector()
public abstract void update(float[] viewMatrix)
viewMatrix
- The view Matrix