de.jreality.scene
Class DirectionalLight

java.lang.Object
  extended by de.jreality.scene.SceneGraphNode
      extended by de.jreality.scene.Light
          extended by de.jreality.scene.DirectionalLight

public class DirectionalLight
extends Light

This is a directional (or parallel or distant) light. It does not decay with distance. The light direction is the z-axis. other directions may be obtained by changing the transformation associated with a parent component.

Author:
Tim Hoffmann
See Also:
Light

Constructor Summary
DirectionalLight()
           
DirectionalLight(java.lang.String name)
           
 
Method Summary
 void accept(SceneGraphVisitor v)
          The accept method for a SceneGraphVisitor.
 
Methods inherited from class de.jreality.scene.Light
addLightListener, getColor, getIntensity, getScaledColorAsFloat, isAmbientFake, isGlobal, removeLightListener, setAmbientFake, setColor, setGlobal, setIntensity
 
Methods inherited from class de.jreality.scene.SceneGraphNode
getName, getOwner, getThreadSafe, isReadOnly, setName, setOwner, setReadOnly, setThreadSafe, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectionalLight

public DirectionalLight(java.lang.String name)

DirectionalLight

public DirectionalLight()
Method Detail

accept

public void accept(SceneGraphVisitor v)
Description copied from class: SceneGraphNode
The accept method for a SceneGraphVisitor.

Overrides:
accept in class Light