Interface Skeleton

  • All Superinterfaces:
    Node

    public interface Skeleton
    extends Node
    Represents a Skeleton. When calculating a model's pose in a animation frame, the skeleton is used to link vertices to animation values.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getCount()
      the number of bones in the Skeleton
      int[][] getList()
      Each bone is linked to a list of vertex skins.
      int[] getTypes()
      the transform type of each bone The possible transform types are as follows: 0 (set pivot point) 1 (translate/move) 2 (rotate) 3 (scale) 5 (alpha/transparency)
    • Method Detail

      • getCount

        int getCount()
        the number of bones in the Skeleton
      • getTypes

        int[] getTypes()
        the transform type of each bone The possible transform types are as follows: 0 (set pivot point) 1 (translate/move) 2 (rotate) 3 (scale) 5 (alpha/transparency)
      • getList

        int[][] getList()
        Each bone is linked to a list of vertex skins. [bone id][list of vertex skins] if a vertex's skin is linked to a bone, the vertex can be transformed by that bone.