Package gaiasky.util
Enum GlobalConf.SceneConf.ElevationType
- java.lang.Object
-
- java.lang.Enum<GlobalConf.SceneConf.ElevationType>
-
- gaiasky.util.GlobalConf.SceneConf.ElevationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GlobalConf.SceneConf.ElevationType>
- Enclosing class:
- GlobalConf.SceneConf
public static enum GlobalConf.SceneConf.ElevationType extends java.lang.Enum<GlobalConf.SceneConf.ElevationType>
The type of elevation representation if elevation textures are present
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
PARALLAX_MAPPING
TESSELLATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isNone()
boolean
isParallaxMapping()
boolean
isTessellation()
static GlobalConf.SceneConf.ElevationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GlobalConf.SceneConf.ElevationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TESSELLATION
public static final GlobalConf.SceneConf.ElevationType TESSELLATION
-
PARALLAX_MAPPING
public static final GlobalConf.SceneConf.ElevationType PARALLAX_MAPPING
-
NONE
public static final GlobalConf.SceneConf.ElevationType NONE
-
-
Method Detail
-
values
public static GlobalConf.SceneConf.ElevationType[] 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 (GlobalConf.SceneConf.ElevationType c : GlobalConf.SceneConf.ElevationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalConf.SceneConf.ElevationType 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
-
isTessellation
public boolean isTessellation()
-
isParallaxMapping
public boolean isParallaxMapping()
-
isNone
public boolean isNone()
-
-