org.jagatoo.loaders.models.collada.datastructs.visualscenes
Class ControllerInstance
java.lang.Object
org.jagatoo.loaders.models.collada.datastructs.visualscenes.AbstractInstance
org.jagatoo.loaders.models.collada.datastructs.visualscenes.ControllerInstance
public class ControllerInstance
- extends AbstractInstance
A node containing an instance of a controller.
Note that the COLLADA file format is more like a scenegraph
than a list of nodes. But I'm applying the YAGNI here : I use
files from Blender only. If we ever need more, then we'll change
it.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllerInstance
public ControllerInstance(AssetFolder file,
java.lang.String id,
java.lang.String name,
java.lang.String controllerURL,
java.lang.String materialURL)
- Creates a new
ControllerInstance.
- Parameters:
file - The COLLADA file this node belongs toid - The id of this nodename - The name of this nodetransform - The transform of this nodecontrollerURL - The URL of the geometry this node is an instance ofmaterialURL - The URL of the material bound to this node
getController
public final Controller getController()
- Returns:
- the controller.
getMaterial
public Material getMaterial()
- Returns:
- the material.