Class GltfScene.Node

java.lang.Object
com.codename1.gpu.GltfScene.Node
Enclosing class:
GltfScene

public static final class GltfScene.Node extends Object
One node of the scene graph.
  • Method Details

    • getName

      public String getName()
      The node's name, or an empty string.
    • getParent

      public int getParent()
      The parent node's index, or -1 for a root.
    • getChildren

      public int[] getChildren()
      The child node indices.
    • getTranslation

      public float[] getTranslation()
      The rest translation x, y, z.
    • getRotation

      public float[] getRotation()
      The rest rotation as an x, y, z, w quaternion.
    • getScale

      public float[] getScale()
      The rest scale x, y, z.
    • getSkin

      public int getSkin()
      The index of the skin that deforms this node's mesh, or -1.