Class InterpolatedFloatChannel

java.lang.Object
com.ardor3d.extension.animation.skeletal.clip.AbstractAnimationChannel
com.ardor3d.extension.animation.skeletal.clip.InterpolatedFloatChannel
All Implemented Interfaces:
Savable

public class InterpolatedFloatChannel extends AbstractAnimationChannel
An animation source channel consisting of float value samples. These samples are interpolated between key frames. Potential uses for this channel include extracting and using forward motion from walk animations, animating colors or texture coordinates, etc.
  • Field Details

    • _values

      protected final float[] _values
      Our key samples.
  • Constructor Details

    • InterpolatedFloatChannel

      public InterpolatedFloatChannel(String channelName, float[] times, float[] values)
      Construct a new InterpolatedFloatChannel.
      Parameters:
      channelName - the name of this channel.
      times - the time samples
      values - our value samples. Entries may be null. Should have as many entries as the times array.
    • InterpolatedFloatChannel

      protected InterpolatedFloatChannel()
  • Method Details