Package com.luciad.view.lightspeed.style
Enum Class ILspTexturedStyle.TextureCoordinatesMode
java.lang.Object
java.lang.Enum<ILspTexturedStyle.TextureCoordinatesMode>
com.luciad.view.lightspeed.style.ILspTexturedStyle.TextureCoordinatesMode
- All Implemented Interfaces:
Serializable
,Comparable<ILspTexturedStyle.TextureCoordinatesMode>
,Constable
- Enclosing interface:
ILspTexturedStyle
public static enum ILspTexturedStyle.TextureCoordinatesMode
extends Enum<ILspTexturedStyle.TextureCoordinatesMode>
Mode that indicates how the texture should be mapped
on the object being styled.
- Since:
- 2012.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMode indicating that the texture coordinates correspond to the object's model coordinates.Mode indicating that the texture maps to the bounds of the object it applies to.Mode indicating that the texture coordinates need to preserve the original texture size, so that one pixel in the view always maps to a pixel of the texture. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OBJECT_RELATIVE
Mode indicating that the texture maps to the bounds of the object it applies to.This mode is for example useful to apply a flag texture to a country.
-
MODEL_ABSOLUTE
Mode indicating that the texture coordinates correspond to the object's model coordinates.This mode is for example useful to apply a single texture representing the whole world to individual countries.
-
VIEW_SCALED
Mode indicating that the texture coordinates need to preserve the original texture size, so that one pixel in the view always maps to a pixel of the texture.This mode is useful when applying a hatching pattern that should be visible independent of the scale.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-