public static enum PhongMaterial.MapType extends Enum<PhongMaterial.MapType>
Enum Constant and Description |
---|
BUMP |
DIFFUSE |
SELF_ILLUM |
SPECULAR |
Modifier and Type | Method and Description |
---|---|
static PhongMaterial.MapType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhongMaterial.MapType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhongMaterial.MapType DIFFUSE
public static final PhongMaterial.MapType SPECULAR
public static final PhongMaterial.MapType BUMP
public static final PhongMaterial.MapType SELF_ILLUM
public static PhongMaterial.MapType[] values()
for (PhongMaterial.MapType c : PhongMaterial.MapType.values()) System.out.println(c);
public static PhongMaterial.MapType 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 nullCopyright © 2020. All rights reserved.