org.jagatoo.loaders.models.collada.datastructs.visualscenes
Class ControllerInstance

java.lang.Object
  extended by org.jagatoo.loaders.models.collada.datastructs.visualscenes.AbstractInstance
      extended by 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.


Constructor Summary
ControllerInstance(AssetFolder file, java.lang.String id, java.lang.String name, java.lang.String controllerURL, java.lang.String materialURL)
          Creates a new ControllerInstance.
 
Method Summary
 Controller getController()
           
 Material getMaterial()
           
 
Methods inherited from class org.jagatoo.loaders.models.collada.datastructs.visualscenes.AbstractInstance
getFile, getName, getSid, getUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 to
id - The id of this node
name - The name of this node
transform - The transform of this node
controllerURL - The URL of the geometry this node is an instance of
materialURL - The URL of the material bound to this node
Method Detail

getController

public final Controller getController()
Returns:
the controller.

getMaterial

public Material getMaterial()
Returns:
the material.