Enum Constant and Description |
---|
NEGATIVEX
The -X face
|
NEGATIVEY
The -Y face
|
NEGATIVEZ
The -Z face
|
POSITIVEX
The +X face
|
POSITIVEY
The +Y face
|
POSITIVEZ
The +Z face
|
Modifier and Type | Method and Description |
---|---|
static CubeFace |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CubeFace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CubeFace POSITIVEX
public static final CubeFace NEGATIVEX
public static final CubeFace POSITIVEY
public static final CubeFace NEGATIVEY
public static final CubeFace POSITIVEZ
public static final CubeFace NEGATIVEZ
public static CubeFace[] values()
for (CubeFace c : CubeFace.values()) System.out.println(c);
public static CubeFace 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 namejava.lang.NullPointerException
- if the argument is null