Class GltfScene.Node
java.lang.Object
com.codename1.gpu.GltfScene.Node
- Enclosing class:
GltfScene
One node of the scene graph.
-
Method Summary
Modifier and TypeMethodDescriptionint[]The child node indices.getName()The node's name, or an empty string.intThe parent node's index, or -1 for a root.float[]The rest rotation as anx, y, z, wquaternion.float[]getScale()The rest scalex, y, z.intgetSkin()The index of the skin that deforms this node's mesh, or -1.float[]The rest translationx, y, z.
-
Method Details
-
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 translationx, y, z. -
getRotation
public float[] getRotation()The rest rotation as anx, y, z, wquaternion. -
getScale
public float[] getScale()The rest scalex, y, z. -
getSkin
public int getSkin()The index of the skin that deforms this node's mesh, or -1.
-