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
  • Enum Constant Details

    • OBJECT_RELATIVE

      public static final ILspTexturedStyle.TextureCoordinatesMode 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

      public static final ILspTexturedStyle.TextureCoordinatesMode 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

      public static final ILspTexturedStyle.TextureCoordinatesMode 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

      public static ILspTexturedStyle.TextureCoordinatesMode[] 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

      public static ILspTexturedStyle.TextureCoordinatesMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null