j3d-vrml97-0.1.0

org.jdesktop.j3d.loaders.vrml97.node
Class Light

java.lang.Object
  extended by vrml.BaseNode
      extended by vrml.node.Node
          extended by org.jdesktop.j3d.loaders.vrml97.node.Light

public class Light
extends Node

Base class for all VRML loader lights. VRML lights have an ambient component and along with a specific component. Java3D defines ambient lights as separate lights. This interface returns both from the VRML light.


Field Summary
 
Fields inherited from class vrml.node.Node
implNode
 
Fields inherited from class vrml.BaseNode
implBaseNode
 
Constructor Summary
Light(Light init)
          This is an internal constructor.
 
Method Summary
 AmbientLight getAmbientLight()
          Gets the ambientLight attribute of the Light object
 Light getLight()
          Gets the light attribute of the Light object
 
Methods inherited from class vrml.node.Node
clone, getBrowser, getEventIn, getEventOut, getExposedField, getImpl, getType
 
Methods inherited from class vrml.BaseNode
browserImpl, getImplNode
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Light

public Light(Light init)
This is an internal constructor. All nodes are created through the the Browser or Loader

Parameters:
init - Description of the Parameter
Method Detail

getAmbientLight

public AmbientLight getAmbientLight()
Gets the ambientLight attribute of the Light object

Returns:
The ambientLight value

getLight

public Light getLight()
Gets the light attribute of the Light object

Returns:
The light value

j3d-vrml97-0.1.0

Todo: put BSD License reference here..