public static enum Terrain.GeometryType extends Enum<Terrain.GeometryType>
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static Terrain.GeometryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Terrain.GeometryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Terrain.GeometryType FLAT
public static final Terrain.GeometryType NON_FLAT
public static final Terrain.GeometryType CUSTOM
public static Terrain.GeometryType[] values()
for (Terrain.GeometryType c : Terrain.GeometryType.values()) System.out.println(c);
public static Terrain.GeometryType 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 String getName()