Interface IGeckoAnimation

    • Method Detail

      • getName

        String getName()
        Get the animation name as defined in the animation file.
        Returns:
        the animation name
      • getLength

        double getLength()
        Get the total duration of this animation in seconds.
        Returns:
        the animation length in seconds
      • isLooping

        boolean isLooping()
        Check whether this animation loops by default as defined in the animation file.
        Returns:
        true if the animation is set to loop
      • getAnimatedBoneNames

        String[] getAnimatedBoneNames()
        Get the names of all bones that have keyframes in this animation.
        Returns:
        array of bone names that are animated
      • getSoundKeyframeCount

        int getSoundKeyframeCount()
        Get the number of sound effect keyframes in this animation.
        Returns:
        the sound keyframe count
      • getParticleKeyframeCount

        int getParticleKeyframeCount()
        Get the number of particle effect keyframes in this animation.
        Returns:
        the particle keyframe count
      • getCustomInstructionKeyframeCount

        int getCustomInstructionKeyframeCount()
        Get the number of custom instruction keyframes in this animation.
        Returns:
        the custom instruction keyframe count