Class VectorCurve


  • public class VectorCurve
    extends java.lang.Object
    Encapsulate a vector curve. This is a performance optimization for interpolating many times on a single spline.
    • Constructor Summary

      Constructors 
      Constructor Description
      VectorCurve​(float[] times, float cycleTime, com.jme3.math.Vector3f[] values)
      Instantiate a generic rotation curve.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VectorCurve

        public VectorCurve​(float[] times,
                           float cycleTime,
                           com.jme3.math.Vector3f[] values)
        Instantiate a generic rotation curve.
        Parameters:
        times - sample times (not null, alias created)
        cycleTime - end time for looping (≥0)
        values - function values at sample times (not null, same length as times, alias created)