class SimpleClipInterpolator extends ClipInterpolator
Modifier and Type | Field and Description |
---|---|
private KeyFrame |
endKeyFrame |
private long |
endTicks |
private InterpolationInterval[] |
interval |
private boolean |
invalid |
private KeyFrame |
startKeyFrame |
private long |
ticks |
private int |
undefinedStartValueCount |
private static KeyFrame |
ZERO_FRAME |
Constructor and Description |
---|
SimpleClipInterpolator(KeyFrame startKeyFrame,
KeyFrame endKeyFrame,
long ticks) |
SimpleClipInterpolator(KeyFrame endKeyFrame,
long ticks) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
interpolate(long ticks) |
(package private) ClipInterpolator |
setKeyFrames(KeyFrame[] keyFrames,
long[] keyFrameTicks)
Changes the keyframes.
|
(package private) void |
validate(boolean forceSync) |
create, getRealKeyFrameCount
private static final KeyFrame ZERO_FRAME
private KeyFrame startKeyFrame
private KeyFrame endKeyFrame
private long endTicks
private InterpolationInterval[] interval
private int undefinedStartValueCount
private long ticks
private boolean invalid
SimpleClipInterpolator(KeyFrame startKeyFrame, KeyFrame endKeyFrame, long ticks)
SimpleClipInterpolator(KeyFrame endKeyFrame, long ticks)
ClipInterpolator setKeyFrames(KeyFrame[] keyFrames, long[] keyFrameTicks)
ClipInterpolator
setKeyFrames
in class ClipInterpolator
keyFrames
- The new sorted array of keyframes of this clipkeyFrameTicks
- tick duration of corresponding keyFramesvoid validate(boolean forceSync)
validate
in class ClipInterpolator
void interpolate(long ticks)
interpolate
in class ClipInterpolator