public static enum Lerper.Mode extends java.lang.Enum<Lerper.Mode>
| Enum Constant and Description |
|---|
BOUNDLESS
Regular lerp algorithm without bound clamping, i.e.
|
CLAMP
BOUNDLESS mode with clamp applied. |
MONOTONIC
Accurate except near alpha values of 1f.
|
PRECISE
Mathematically accurate precision.
|
| Modifier and Type | Method and Description |
|---|---|
static Lerper.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Lerper.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lerper.Mode BOUNDLESS
public static final Lerper.Mode CLAMP
public static final Lerper.Mode MONOTONIC
public static final Lerper.Mode PRECISE
public static Lerper.Mode[] values()
for (Lerper.Mode c : Lerper.Mode.values()) System.out.println(c);
public static Lerper.Mode 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