public enum ShadowModel extends Enum<ShadowModel>
Enum Constant and Description |
---|
CONE
Cone model, umbra only.
|
CYLINDRICAL
Cylindrical model.
|
DUAL_CONE
Cone model, penumbra and umbra.
|
NONE
No shadow.
|
Modifier and Type | Method and Description |
---|---|
static ShadowModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShadowModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShadowModel NONE
public static final ShadowModel CYLINDRICAL
public static final ShadowModel CONE
public static final ShadowModel DUAL_CONE
public static ShadowModel[] values()
for (ShadowModel c : ShadowModel.values()) System.out.println(c);
public static ShadowModel 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 © 2002-2022 CS GROUP. All rights reserved.