org.jdesktop.j3d.loaders.vrml97.node
Class Light
java.lang.Object
vrml.BaseNode
vrml.node.Node
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.
Constructor Summary |
Light(Light init)
This is an internal constructor. |
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
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
Todo: put BSD License reference here..