Class TransformChannel

java.lang.Object
com.ardor3d.extension.animation.skeletal.clip.AbstractAnimationChannel
com.ardor3d.extension.animation.skeletal.clip.TransformChannel
All Implemented Interfaces:
Savable
Direct Known Subclasses:
JointChannel

public class TransformChannel extends AbstractAnimationChannel
An animation channel consisting of a series of transforms interpolated over time.
  • Constructor Details

    • TransformChannel

      public TransformChannel(String channelName, float[] times, ReadOnlyQuaternion[] rotations, ReadOnlyVector3[] translations, ReadOnlyVector3[] scales)
      Construct a new TransformChannel.
      Parameters:
      channelName - our name.
      times - our time offset values.
      rotations - the rotations to set on this channel at each time offset.
      translations - the translations to set on this channel at each time offset.
      scales - the scales to set on this channel at each time offset.
    • TransformChannel

      public TransformChannel(String channelName, float[] times, ReadOnlyTransform[] transforms)
      Construct a new TransformChannel.
      Parameters:
      channelName - our name.
      times - our time offset values.
      transforms - the transform to set on this channel at each time offset. These are separated into rotation, scale and translation components. Note that supplying transforms with non-rotational matrices (with built in shear, scale.) will produce a warning and may not give you the expected result.
    • TransformChannel

      protected TransformChannel()
  • Method Details