Package com.hbm_m.client.loader.dae
Class DaeCurve
java.lang.Object
com.hbm_m.client.loader.dae.DaeCurve
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 Summary
Constructors -
Method Summary
-
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)
-