Enum MaterialBuilder.Variable
- java.lang.Object
-
- java.lang.Enum<MaterialBuilder.Variable>
-
- com.google.android.filament.filamat.MaterialBuilder.Variable
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MaterialBuilder.Variable>
- Enclosing class:
- MaterialBuilder
public static enum MaterialBuilder.Variable extends java.lang.Enum<MaterialBuilder.Variable>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MaterialBuilder.VariablevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MaterialBuilder.Variable[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CUSTOM0
public static final MaterialBuilder.Variable CUSTOM0
-
CUSTOM1
public static final MaterialBuilder.Variable CUSTOM1
-
CUSTOM2
public static final MaterialBuilder.Variable CUSTOM2
-
CUSTOM3
public static final MaterialBuilder.Variable CUSTOM3
-
-
Method Detail
-
values
public static MaterialBuilder.Variable[] 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 (MaterialBuilder.Variable c : MaterialBuilder.Variable.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaterialBuilder.Variable 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
-
-