Package com.google.android.filament
Enum LightManager.Type
- java.lang.Object
-
- java.lang.Enum<LightManager.Type>
-
- com.google.android.filament.LightManager.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LightManager.Type>
- Enclosing class:
- LightManager
public static enum LightManager.Type extends java.lang.Enum<LightManager.Type>
Denotes the type of the light being created.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECTIONALDirectional light, emits light in a given direction.FOCUSED_SPOTPhysically correct spot light.POINTPoint light, emits light from a position, in all directions.SPOTSpot light with coupling of outer cone and illumination disabled.SUNDirectional light that also draws a sun's disk in the sky.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LightManager.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LightManager.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUN
public static final LightManager.Type SUN
Directional light that also draws a sun's disk in the sky.
-
DIRECTIONAL
public static final LightManager.Type DIRECTIONAL
Directional light, emits light in a given direction.
-
POINT
public static final LightManager.Type POINT
Point light, emits light from a position, in all directions.
-
FOCUSED_SPOT
public static final LightManager.Type FOCUSED_SPOT
Physically correct spot light.
-
SPOT
public static final LightManager.Type SPOT
Spot light with coupling of outer cone and illumination disabled.
-
-
Method Detail
-
values
public static LightManager.Type[] 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 (LightManager.Type c : LightManager.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LightManager.Type 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
-
-