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