Class DaeCurve

java.lang.Object
com.hbm_m.client.loader.dae.DaeCurve

public class DaeCurve extends Object
A single animation curve: a list of (time, value) keyframes sampled from a COLLADA sampler source. LINEAR segments are interpolated, everything else is stepped and the last keyframe is held indefinitely once the curve end is reached. This gives the "hold last frame" behavior for free.
  • Constructor Details

    • DaeCurve

      public DaeCurve(float[] times, float[][] values, boolean[] step, int stride)
  • Method Details

    • getStartTime

      public float getStartTime()
    • getEndTime

      public float getEndTime()
    • sample

      public float[] sample(float time)