Enum Constant and Description |
---|
BORDER
The coordinates that outside of the range [0.0, 1.0] are set to a specified border color.
|
CLAMP
Clamps the texture to the last pixel at the border.
|
MIRROR
The texture will be repeated, but it will be mirrored when the integer part of the coordinate is odd.
|
MIRROR_ONCE
The texture will be mirrored once, and then clamps to the maximum value.
|
WRAP
Tiles the texture on the model's surface, creating a repeating pattern.
|
Modifier and Type | Method and Description |
---|---|
static WrapMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WrapMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WrapMode WRAP
public static final WrapMode CLAMP
public static final WrapMode MIRROR
public static final WrapMode MIRROR_ONCE
public static final WrapMode BORDER
public static WrapMode[] values()
for (WrapMode c : WrapMode.values()) System.out.println(c);
public static WrapMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null