org.jagatoo.loaders.models.collada.datastructs.visualscenes
Class Node
java.lang.Object
org.jagatoo.loaders.models.collada.datastructs.visualscenes.Node
public class Node
- extends java.lang.Object
A COLLADA Node
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Node
public Node(AssetFolder file,
java.lang.String id,
java.lang.String name,
COLLADATransform transform)
- Creates a new COLLADANode.
- Parameters:
file - the COLLADA file this node belongs toid - The id of this Nodename - The name of this Nodetransform - The transform of this Node
getFile
public final AssetFolder getFile()
- Returns:
- the file.
getId
public final java.lang.String getId()
- Returns:
- the id.
getName
public final java.lang.String getName()
- Returns:
- the name.
getTransform
public final COLLADATransform getTransform()
- Returns:
- the transform.
addGeometryInstance
public void addGeometryInstance(GeometryInstance instance)
addControllerInstance
public void addControllerInstance(ControllerInstance instance)
addChild
public void addChild(Node child)
getChildren
public java.util.ArrayList<Node> getChildren()
getGeometryInstances
public java.util.ArrayList<GeometryInstance> getGeometryInstances()
getControllerInstances
public java.util.ArrayList<ControllerInstance> getControllerInstances()