public class FrameInterpolator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FrameInterpolator.TrackDataReader<T> |
static class |
FrameInterpolator.TrackTimeReader |
Modifier and Type | Field and Description |
---|---|
static FrameInterpolator |
DEFAULT |
Constructor and Description |
---|
FrameInterpolator() |
Modifier and Type | Method and Description |
---|---|
Transform |
interpolate(float t,
int currentIndex,
CompactVector3Array translations,
CompactQuaternionArray rotations,
CompactVector3Array scales,
float[] times) |
void |
interpolateWeights(float t,
int currentIndex,
float[] weights,
int nbMorphTargets,
float[] store) |
void |
setRotationInterpolator(AnimInterpolator<Quaternion> rotationInterpolator) |
void |
setScaleInterpolator(AnimInterpolator<Vector3f> scaleInterpolator) |
void |
setTimeInterpolator(AnimInterpolator<java.lang.Float> timeInterpolator) |
void |
setTranslationInterpolator(AnimInterpolator<Vector3f> translationInterpolator) |
public static final FrameInterpolator DEFAULT
public Transform interpolate(float t, int currentIndex, CompactVector3Array translations, CompactQuaternionArray rotations, CompactVector3Array scales, float[] times)
public void interpolateWeights(float t, int currentIndex, float[] weights, int nbMorphTargets, float[] store)
public void setTimeInterpolator(AnimInterpolator<java.lang.Float> timeInterpolator)
public void setTranslationInterpolator(AnimInterpolator<Vector3f> translationInterpolator)
public void setRotationInterpolator(AnimInterpolator<Quaternion> rotationInterpolator)
public void setScaleInterpolator(AnimInterpolator<Vector3f> scaleInterpolator)