com.supermap.ar.areffect.gltfModel
Class Nodes
- java.lang.Object
-
- com.supermap.ar.areffect.gltfModel.Nodes
-
public class Nodes extends java.lang.Object
Node 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.Integer
getMesh()
Gets the meshjava.lang.String
getName()
Gets the namejava.lang.Float[]
getRotation()
Gets the rotation arrayjava.lang.Float[]
getScale()
Gets the scalejava.lang.Float[]
getTranslation()
Sets the offset positionvoid
setChildren(java.lang.Integer[] children)
Sets the sub nodevoid
setMesh(java.lang.Integer mesh)
Sets the meshvoid
setName(java.lang.String name)
Sets a namevoid
setRotation(java.lang.Float[] rotation)
Sets the rotation arrayvoid
setScale(java.lang.Float[] scale)
Sets the scalevoid
setTranslation(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:
-
-