public static enum ILspTexturedStyle.TextureCoordinatesMode extends Enum<ILspTexturedStyle.TextureCoordinatesMode>
Enum Constant and Description |
---|
MODEL_ABSOLUTE
Mode indicating that the texture coordinates correspond
to the object's model coordinates.
|
OBJECT_RELATIVE
Mode indicating that the texture maps to the bounds
of the object it applies to.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static ILspTexturedStyle.TextureCoordinatesMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ILspTexturedStyle.TextureCoordinatesMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ILspTexturedStyle.TextureCoordinatesMode OBJECT_RELATIVE
This mode is for example useful to apply a flag texture to a country.
public static final ILspTexturedStyle.TextureCoordinatesMode MODEL_ABSOLUTE
This mode is for example useful to apply a single texture representing the whole world to individual countries.
public static final ILspTexturedStyle.TextureCoordinatesMode VIEW_SCALED
This mode is useful when applying a hatching pattern that should be visible independent of the scale.
public static ILspTexturedStyle.TextureCoordinatesMode[] values()
for (ILspTexturedStyle.TextureCoordinatesMode c : ILspTexturedStyle.TextureCoordinatesMode.values()) System.out.println(c);
public static ILspTexturedStyle.TextureCoordinatesMode 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 null