|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--go.GoFeedback
Method Summary | |
double |
b(int index)
Returns the b value of the color at the specified vertex index. |
double |
g(int index)
Returns the g value of the color at the specified vertex index. |
int |
name()
Returns the name accosiated with the feedback. |
GoFeedback |
next()
Returns a pointer to the next feedback item. |
double |
r(int index)
Returns the r value of the color at the specified vertex index. |
int |
type()
Returns the feedback type, which is either a LINE or TRIANGLE. |
double |
x(int index)
Returns the x value of the coordinate at the specified vertex index. |
double |
y(int index)
Returns the y value of the coordinate at the specified vertex index. |
double |
z(int index)
Returns the z value of the coordinate at the specified vertex index. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public int type()
public int name()
When primitives are rendered, the current name value of the rendering context is saved with each feedback item. To set a specific name when rendering a primitive, use the method name(int).
public double x(int index)
If the feedback type is LINE, then since a line has two vertices, index is either 0 or 1.
If the feedback type is TRIANGLE, then since a triangle has three vertices, index is either 0, 1 or 2.
public double y(int index)
If the feedback type is LINE, then since a line has two vertices, index is either 0 or 1.
If the feedback type is TRIANGLE, then since a triangle has three vertices, index is either 0, 1 or 2.
public double z(int index)
If the feedback type is LINE, then since a line has two vertices, index is either 0 or 1.
If the feedback type is TRIANGLE, then since a triangle has three vertices, index is either 0, 1 or 2.
public double r(int index)
If the feedback type is LINE, then since a line has two vertices, index is either 0 or 1.
If the feedback type is TRIANGLE, then since a triangle has three vertices, index is either 0, 1 or 2.
public double g(int index)
If the feedback type is LINE, then since a line has two vertices, index is either 0 or 1.
If the feedback type is TRIANGLE, then since a triangle has three vertices, index is either 0, 1 or 2.
public double b(int index)
If the feedback type is LINE, then since a line has two vertices, index is either 0 or 1.
If the feedback type is TRIANGLE, then since a triangle has three vertices, index is either 0, 1 or 2.
public GoFeedback next()
If null is returned, then the end of the feedback list has been reached.
For more information on traversing the feedback list, see feedback.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |