hmi.graphics.collada
Enum Mesh.MeshType
java.lang.Object
java.lang.Enum<Mesh.MeshType>
hmi.graphics.collada.Mesh.MeshType
- All Implemented Interfaces:
- Serializable, Comparable<Mesh.MeshType>
- Enclosing class:
- Mesh
public static enum Mesh.MeshType
- extends Enum<Mesh.MeshType>
A Mesh has a type, like Triangles, Tristrips, Polygons etc.
|
Method Summary |
static Mesh.MeshType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Mesh.MeshType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Undefined
public static final Mesh.MeshType Undefined
Triangles
public static final Mesh.MeshType Triangles
Trifans
public static final Mesh.MeshType Trifans
Tristrips
public static final Mesh.MeshType Tristrips
Polygons
public static final Mesh.MeshType Polygons
Polylist
public static final Mesh.MeshType Polylist
Lines
public static final Mesh.MeshType Lines
Linestrips
public static final Mesh.MeshType Linestrips
values
public static Mesh.MeshType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Mesh.MeshType c : Mesh.MeshType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Mesh.MeshType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null