public enum SMFFaceWindingOrder extends Enum<SMFFaceWindingOrder>
| Enum Constant and Description |
|---|
FACE_WINDING_ORDER_CLOCKWISE
The vertices of triangles are specified in clockwise winding order.
|
FACE_WINDING_ORDER_COUNTER_CLOCKWISE
The vertices of triangles are specified in counter-clockwise winding order.
|
| Modifier and Type | Method and Description |
|---|---|
static SMFFaceWindingOrder |
fromIndex(int in_index) |
static SMFFaceWindingOrder |
fromName(String name) |
int |
index() |
String |
toName() |
static SMFFaceWindingOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMFFaceWindingOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMFFaceWindingOrder FACE_WINDING_ORDER_CLOCKWISE
public static final SMFFaceWindingOrder FACE_WINDING_ORDER_COUNTER_CLOCKWISE
public static SMFFaceWindingOrder[] values()
for (SMFFaceWindingOrder c : SMFFaceWindingOrder.values()) System.out.println(c);
public static SMFFaceWindingOrder valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SMFFaceWindingOrder fromName(String name) throws IllegalArgumentException
name - An order name such as "clockwise" or "counter-clockwise"IllegalArgumentException - On unrecognized namespublic static SMFFaceWindingOrder fromIndex(int in_index) throws IllegalArgumentException
in_index - An order indexIllegalArgumentException - On unrecognized indicespublic int index()
public String toName()
Copyright © 2017 <code@io7m.com> http://io7m.com