|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--go.GoLight
Field Summary | |
int |
type
DIRECTIONAL or POSITIONAL |
double |
x
x component of light direction/position. |
double |
y
y component of light direction/position. |
double |
z
z component of light direction/position. |
Constructor Summary | |
GoLight()
Constructor for a light definition. |
|
GoLight(int type,
double x,
double y,
double z)
Constructor for a light definition. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public int type
public double x
public double y
public double z
Constructor Detail |
public GoLight()
Equivalent to:
GoLight(Go.DIRECTIONAL, 0, 0, 1)
public GoLight(int type, double x, double y, double z)
A light is defined where type is equal to DIRECTIONAL or POSITIONAL and a direction/position value equal to (x, y, z). See light for more information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |