com.jme.image
Enum TextureCubeMap.Face
java.lang.Object
java.lang.Enum<TextureCubeMap.Face>
com.jme.image.TextureCubeMap.Face
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TextureCubeMap.Face>
- Enclosing class:
- TextureCubeMap
public static enum TextureCubeMap.Face
- extends java.lang.Enum<TextureCubeMap.Face>
Face of the Cubemap as described by its directional offset from the
origin.
Method Summary |
static TextureCubeMap.Face |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TextureCubeMap.Face[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PositiveX
public static final TextureCubeMap.Face PositiveX
NegativeX
public static final TextureCubeMap.Face NegativeX
PositiveY
public static final TextureCubeMap.Face PositiveY
NegativeY
public static final TextureCubeMap.Face NegativeY
PositiveZ
public static final TextureCubeMap.Face PositiveZ
NegativeZ
public static final TextureCubeMap.Face NegativeZ
values
public static TextureCubeMap.Face[] 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 (TextureCubeMap.Face c : TextureCubeMap.Face.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TextureCubeMap.Face valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null