com.supermap.ar.areffect.gltfModel
Class Nodes
- java.lang.Object
 - 
- com.supermap.ar.areffect.gltfModel.Nodes
 
 
- 
public class Nodes extends java.lang.ObjectNode information 
- 
- 
Constructor Summary
Constructors Constructor and Description Nodes() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Integer[]getChildren()Gets the sub nodejava.lang.IntegergetMesh()Gets the meshjava.lang.StringgetName()Gets the namejava.lang.Float[]getRotation()Gets the rotation arrayjava.lang.Float[]getScale()Gets the scalejava.lang.Float[]getTranslation()Sets the offset positionvoidsetChildren(java.lang.Integer[] children)Sets the sub nodevoidsetMesh(java.lang.Integer mesh)Sets the meshvoidsetName(java.lang.String name)Sets a namevoidsetRotation(java.lang.Float[] rotation)Sets the rotation arrayvoidsetScale(java.lang.Float[] scale)Sets the scalevoidsetTranslation(java.lang.Float[] translation)Sets the offset position 
 - 
 
- 
- 
Method Detail
- 
getChildren
public java.lang.Integer[] getChildren()
Gets the sub node- Returns:
 
 
- 
setChildren
public void setChildren(java.lang.Integer[] children)
Sets the sub node- Parameters:
 children-
 
- 
setMesh
public void setMesh(java.lang.Integer mesh)
Sets the mesh- Parameters:
 mesh-
 
- 
getMesh
public java.lang.Integer getMesh()
Gets the mesh- Returns:
 
 
- 
setTranslation
public void setTranslation(java.lang.Float[] translation)
Sets the offset position- Parameters:
 translation-
 
- 
getTranslation
public java.lang.Float[] getTranslation()
Sets the offset position- Returns:
 
 
- 
setRotation
public void setRotation(java.lang.Float[] rotation)
Sets the rotation array- Parameters:
 rotation-
 
- 
getRotation
public java.lang.Float[] getRotation()
Gets the rotation array- Returns:
 
 
- 
setScale
public void setScale(java.lang.Float[] scale)
Sets the scale- Parameters:
 scale-
 
- 
getScale
public java.lang.Float[] getScale()
Gets the scale- Returns:
 
 
- 
setName
public void setName(java.lang.String name)
Sets a name- Parameters:
 name-
 
- 
getName
public java.lang.String getName()
Gets the name- Returns:
 
 
 - 
 
 -