private static class InterpolationInterval.FloatInterpolationInterval extends InterpolationInterval
Modifier and Type | Field and Description |
---|---|
private float |
leftValue |
private float |
rightValue |
private WritableFloatValue |
target |
rightInterpolator, ticks
Modifier | Constructor and Description |
---|---|
private |
FloatInterpolationInterval(KeyValue keyValue,
long ticks) |
private |
FloatInterpolationInterval(KeyValue keyValue,
long ticks,
java.lang.Object leftValue) |
Modifier and Type | Method and Description |
---|---|
void |
interpolate(double frac) |
void |
recalculateStartValue() |
create, create
private final WritableFloatValue target
private float leftValue
private final float rightValue
private FloatInterpolationInterval(KeyValue keyValue, long ticks, java.lang.Object leftValue)
private FloatInterpolationInterval(KeyValue keyValue, long ticks)
public void interpolate(double frac)
interpolate
in class InterpolationInterval
public void recalculateStartValue()
recalculateStartValue
in class InterpolationInterval