Method Summary |
|
public void | addBackgroundNode(Background background) Adds the given Background node to the list of backgrounds. |
public void | addBehaviorNode(Behavior b) |
public void | addDescription(String descriptionString) Sets the text description of the scene to the passed in String. |
public void | addFogNode(Fog fog) Adds the given Fog node to the list of fog nodes. |
public void | addHorizontalFOV(float hfov) Adds the given field of view value to the list of field of view values. |
public void | addLightNode(Light light) Adds the given Light node to the list of lights. |
public void | addNamedObject(String name, Object object) Adds the given String/Object pair to the table of named objects. |
public void | addSoundNode(Sound sound) Adds the given Sound node to the list of sounds. |
public void | addViewGroup(TransformGroup tg) Adds the given group to the list of view groups. |
public Background[] | getBackgroundNodes() This method returns an array of all Background nodes defined in the
file. |
public Behavior[] | getBehaviorNodes() This method returns a group containing all of the Behavior nodes
in the scene. |
public String | getDescription() This method returns the text description of the file. |
public Fog[] | getFogNodes() This method returns an array of all Fog nodes defined in the
file. |
public float[] | getHorizontalFOVs() This method returns an array of floats that contains the horizontal
field of view values for each corresponding entry in the array of
view groups returned by the method getViewGroups. |
public Light[] | getLightNodes() This method returns an array of all Lights defined in the file. |
public Hashtable | getNamedObjects() This method returns a Hashtable which contains a list of all named
objects in the file and their associated scene graph objects. |
public BranchGroup | getSceneGroup() This method returns the BranchGroup containing the overall
scene loaded by the loader. |
public Sound[] | getSoundNodes() This method returns an array of all of the Sound nodes defined
in the file. |
public TransformGroup[] | getViewGroups() This method returns an array of all View Groups defined in the file.
A View Group is defined as a TransformGroup which contains a
ViewPlatform. |
public void | setSceneGroup(BranchGroup scene) Sets the sceneGroup to be the group that is passed in. |