Class FrameInterpolator

java.lang.Object
com.jme3.anim.interpolator.FrameInterpolator

public class FrameInterpolator extends Object
Created by nehon on 15/04/17.
  • Field Details

    • DEFAULT

      @Deprecated public static final FrameInterpolator DEFAULT
      Deprecated.
      A global default instance of this class, for compatibility with JME v3.5. Due to issue #1806, use of this instance is discouraged.
  • Constructor Details

    • FrameInterpolator

      public FrameInterpolator()
  • Method Details

    • getThreadDefault

      public static FrameInterpolator getThreadDefault()
      Obtain the default interpolator for the current thread.
      Returns:
      the pre-existing instance (not null)
    • interpolate

      public Transform interpolate(float t, int currentIndex, CompactVector3Array translations, CompactQuaternionArray rotations, CompactVector3Array scales, float[] times)
    • interpolateWeights

      public void interpolateWeights(float t, int currentIndex, float[] weights, int nbMorphTargets, float[] store)
    • setTimeInterpolator

      public void setTimeInterpolator(AnimInterpolator<Float> timeInterpolator)
    • setTranslationInterpolator

      public void setTranslationInterpolator(AnimInterpolator<Vector3f> translationInterpolator)
    • setRotationInterpolator

      public void setRotationInterpolator(AnimInterpolator<Quaternion> rotationInterpolator)
    • setScaleInterpolator

      public void setScaleInterpolator(AnimInterpolator<Vector3f> scaleInterpolator)