public static enum Light.LightType extends java.lang.Enum<Light.LightType>
Enum Constant and Description |
---|
DIRECTIONAL |
POINT |
SPOT |
Modifier and Type | Method and Description |
---|---|
static Light.LightType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Light.LightType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Light.LightType DIRECTIONAL
public static final Light.LightType POINT
public static final Light.LightType SPOT
public static Light.LightType[] values()
for (Light.LightType c : Light.LightType.values()) System.out.println(c);
public static Light.LightType 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