public class PointLight extends Light implements IRenderable
Light.Type
Constructor and Description |
---|
PointLight() |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(SceneNode node)
Attaches this object to a SceneNode
|
float[] |
getLightVector()
Get a vector characteristic for this light
|
void |
render(float[] vpMatrix)
Renders this object the matrix containing projection and view will be passed
|
void |
update(float[] viewMatrix)
Update the characteristic vector of this light
|
detach, getAbsolutePos, getModelMatrix, getParent, getRelativePos, onTransformed
public void render(float[] vpMatrix)
IRenderable
render
in interface IRenderable
public void attachTo(SceneNode node)
SceneObject
attachTo
in class SceneObject
node
- The node onto which this SceneObject will be attachedpublic void update(float[] viewMatrix)
Light
public float[] getLightVector()
Light
getLightVector
in class Light