|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DirectionalLightIface
This inbterface defines the methods that need to be implemented by an directional light.
Method Summary | |
---|---|
Point3D |
getDirection()
Returns the direction as a new Point3D object. |
void |
setDirection(float x,
float y,
float z)
Set the direction of the light. |
void |
setDirection(Point3D dir)
Sets the direction of the light. |
Methods inherited from interface de.rico.engine.effect.light.LightIface |
---|
bind, destroy, release, setEnabled |
Method Detail |
---|
void setDirection(float x, float y, float z)
x
- x directiony
- y directionz
- z directionvoid setDirection(Point3D dir)
dir
- light directionPoint3D getDirection()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |