public class TLspDirectionalLight extends ALspDirectionalLight
Constructor and Description |
---|
TLspDirectionalLight()
Default constructor.
|
TLspDirectionalLight(Color aColor,
ILcdPoint aDirectionVector)
Creates a directional light with the given color and direction.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ILcdPoint |
getDirectionVector()
Returns the vector pointing towards the light source.
|
int |
hashCode() |
void |
setDirectionVector(ILcdPoint aDirectionVector)
Sets the direction vector of the light.
|
getColor, setColor
addPropertyChangeListener, firePropertyChange, isEnabled, removePropertyChangeListener, setEnabled
public TLspDirectionalLight()
public ILcdPoint getDirectionVector()
ALspDirectionalLight
getDirectionVector
in class ALspDirectionalLight
public void setDirectionVector(ILcdPoint aDirectionVector)
aDirectionVector
- the direction towards the light, in world coordinates