Class JointChannel

All Implemented Interfaces:
Savable

public class JointChannel extends TransformChannel
Transform animation channel, specifically geared towards describing the motion of skeleton joints.
  • Field Details

    • JOINT_CHANNEL_NAME

      public static final String JOINT_CHANNEL_NAME
      A name prepended to joint indices to identify them as joint channels.
      See Also:
  • Constructor Details

    • JointChannel

      public JointChannel(Joint joint, float[] times, ReadOnlyQuaternion[] rotations, ReadOnlyVector3[] translations, ReadOnlyVector3[] scales)
      Construct a new JointChannel.
      Parameters:
      joint - the joint to pull name and index from.
      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.
    • JointChannel

      public JointChannel(String jointName, int jointIndex, float[] times, ReadOnlyQuaternion[] rotations, ReadOnlyVector3[] translations, ReadOnlyVector3[] scales)
      Construct a new JointChannel.
      Parameters:
      jointName - the human readable name of the joint
      jointIndex - the index of the joint.
      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.
    • JointChannel

      public JointChannel(Joint joint, float[] times, ReadOnlyTransform[] transforms)
      Construct a new JointChannel.
      Parameters:
      joint - the index of the joint.
      times - our time offset values.
      transforms - the transform to set on this channel at each time offset.
    • JointChannel

      protected JointChannel()
  • Method Details