|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rugl.gl.facets.PolygonOffset
public class PolygonOffset
Controls polygon offset
| Field Summary | |
|---|---|
float |
factor
A scale factor that is used to create a variable depth offset for each polygon. |
boolean |
fill
Enables GL11.GL_POLYGON_OFFSET_FILL |
boolean |
line
Enables GL11.GL_POLYGON_OFFSET_LINE |
boolean |
point
Enables GL11.GL_POLYGON_OFFSET_POINT |
float |
units
Multiplied by an implementation-specific value to create a constant depth offset. |
| Constructor Summary | |
|---|---|
PolygonOffset()
|
|
| Method Summary | |
|---|---|
int |
compareTo(PolygonOffset po)
|
void |
set(PolygonOffset po)
Copy the values |
java.lang.String |
toString()
|
void |
transitionFrom(PolygonOffset po)
Alter the state if necessary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean line
GL11.GL_POLYGON_OFFSET_LINE
public boolean fill
GL11.GL_POLYGON_OFFSET_FILL
public boolean point
GL11.GL_POLYGON_OFFSET_POINT
public float factor
public float units
| Constructor Detail |
|---|
public PolygonOffset()
| Method Detail |
|---|
public void set(PolygonOffset po)
Facet
set in interface Facet<PolygonOffset>public void transitionFrom(PolygonOffset po)
Facet
transitionFrom in interface Facet<PolygonOffset>po - The current state.public int compareTo(PolygonOffset po)
compareTo in interface java.lang.Comparable<PolygonOffset>public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||