|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Line.Mode>
com.jme.scene.Line.Mode
public static enum Line.Mode
| Enum Constant Summary | |
|---|---|
Connected
The first two vertices referenced by the indexbuffer create a line, from there, every additional vertex is paired with the preceding vertex to make a new, connected line. |
|
Loop
Identical to Connected except the final indexed vertex is then connected back to the initial vertex to form a loop. |
|
Segments
Every two vertices referenced by the indexbuffer will be considered a stand-alone line segment. |
|
| Method Summary | |
|---|---|
static Line.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Line.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Line.Mode Segments
public static final Line.Mode Connected
public static final Line.Mode Loop
| Method Detail |
|---|
public static final Line.Mode[] values()
for(Line.Mode c : Line.Mode.values())
System.out.println(c);
public static Line.Mode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||