Package com.google.android.filament
Enum Texture.CubemapFace
- java.lang.Object
-
- java.lang.Enum<Texture.CubemapFace>
-
- com.google.android.filament.Texture.CubemapFace
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Texture.CubemapFace>
- Enclosing class:
- Texture
public static enum Texture.CubemapFace extends java.lang.Enum<Texture.CubemapFace>
Cubemap faces
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEGATIVE_X-x faceNEGATIVE_Y-y faceNEGATIVE_Z-z facePOSITIVE_X+x facePOSITIVE_Y+y facePOSITIVE_Z+z face
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Texture.CubemapFacevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Texture.CubemapFace[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POSITIVE_X
public static final Texture.CubemapFace POSITIVE_X
+x face
-
NEGATIVE_X
public static final Texture.CubemapFace NEGATIVE_X
-x face
-
POSITIVE_Y
public static final Texture.CubemapFace POSITIVE_Y
+y face
-
NEGATIVE_Y
public static final Texture.CubemapFace NEGATIVE_Y
-y face
-
POSITIVE_Z
public static final Texture.CubemapFace POSITIVE_Z
+z face
-
NEGATIVE_Z
public static final Texture.CubemapFace NEGATIVE_Z
-z face
-
-
Method Detail
-
values
public static Texture.CubemapFace[] 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 (Texture.CubemapFace c : Texture.CubemapFace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Texture.CubemapFace 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 namejava.lang.NullPointerException- if the argument is null
-
-