class GeneralClipInterpolator extends ClipInterpolator
Modifier and Type | Field and Description |
---|---|
private InterpolationInterval[][] |
interval |
private boolean |
invalid |
private KeyFrame[] |
keyFrames |
private long[] |
keyFrameTicks |
private int[] |
undefinedStartValues |
Constructor and Description |
---|
GeneralClipInterpolator(KeyFrame[] keyFrames,
long[] keyFrameTicks) |
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 KeyFrame[] keyFrames
private long[] keyFrameTicks
private InterpolationInterval[][] interval
private int[] undefinedStartValues
private boolean invalid
GeneralClipInterpolator(KeyFrame[] keyFrames, long[] keyFrameTicks)
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