public enum CesiumShadowMode extends Enum<CesiumShadowMode> implements Enumeration
Enum Constant and Description |
---|
CAST_ONLY
The object casts shadows only.
|
DISABLED
The object does not cast or receive shadows.
|
ENABLED
The object casts and receives shadows.
|
RECEIVE_ONLY
The object receives shadows only.
|
Modifier and Type | Method and Description |
---|---|
static CesiumShadowMode |
getDefault()
Get the enum constant that is considered to be the default.
|
static CesiumShadowMode |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static CesiumShadowMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CesiumShadowMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CesiumShadowMode DISABLED
public static final CesiumShadowMode ENABLED
public static final CesiumShadowMode CAST_ONLY
public static final CesiumShadowMode RECEIVE_ONLY
public static CesiumShadowMode[] values()
for (CesiumShadowMode c : CesiumShadowMode.values()) System.out.println(c);
public static CesiumShadowMode 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 nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static CesiumShadowMode getFromValue(int value)
value
- a numeric value.@Nonnull public static CesiumShadowMode getDefault()