|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PositionalLightIface
This interface specifies neccessar ymethods fot positional lights
Method Summary | |
---|---|
Point3D |
getPosition()
Returns the position of the light as new Point3D object |
void |
setPosition(float x,
float y,
float z)
Sets the position of the light |
void |
setPosition(Point3D pos)
Sets the position of the light |
void |
setX(float x)
Sets the x-position of the light |
void |
setY(float y)
Sets the y-position of the light |
void |
setZ(float z)
Sets the z-position of the light |
Methods inherited from interface de.rico.engine.effect.light.LightIface |
---|
bind, destroy, release, setEnabled |
Method Detail |
---|
Point3D getPosition()
void setPosition(Point3D pos)
pos
- light positionvoid setPosition(float x, float y, float z)
x
- x-coordinatey
- y-coordinatez
- z-coordinatevoid setX(float x)
x
- new x-coordinatevoid setY(float y)
y
- new y-coordinatevoid setZ(float z)
z
- new z-coordinate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |