Class Clip

java.lang.Object
net.ixdarklord.coolcatcanvas.api.client.armature.Clip

public final class Clip extends Object
One animation of an armature, as its file describes it. Played through an Animator.
  • Method Details

    • bind

      public static Clip bind(ClipSource source, Map<String,Integer> jointIndex, int jointCount)
      The clip for one armature: its joints found by name. Channels for joints the armature doesn't have are dropped.
    • name

      public String name()
    • length

      public float length()
      Seconds from start to end.
    • loop

      public LoopMode loop()
      How it loops unless a Motion says otherwise.
    • animates

      public boolean animates(int joint)
      Whether it moves this joint at all.
    • startDelay

      public float startDelay()
    • loopDelay

      public float loopDelay()
    • toString

      public String toString()
      Overrides:
      toString in class Object