|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TriMesh.Mode>
com.jme.scene.TriMesh.Mode
public static enum TriMesh.Mode
| Enum Constant Summary | |
|---|---|
Fan
The first three vertices (V0, V1, V2) referenced by the indexbuffer create a triangle, from there, every additional vertex is paired with the preceding vertex and the initial vertex (V0) to make a new triangle. |
|
Strip
The first three vertices referenced by the indexbuffer create a triangle, from there, every additional vertex is paired with the two preceding vertices to make a new triangle. |
|
Triangles
Every three vertices referenced by the indexbuffer will be considered a stand-alone triangle. |
|
| Method Summary | |
|---|---|
static TriMesh.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TriMesh.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TriMesh.Mode Triangles
public static final TriMesh.Mode Strip
public static final TriMesh.Mode Fan
| Method Detail |
|---|
public static TriMesh.Mode[] values()
for (TriMesh.Mode c : TriMesh.Mode.values()) System.out.println(c);
public static TriMesh.Mode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||