shout3d.core
Class DirectionalLight

java.lang.Object
  |
  +--shout3d.core.Node
        |
        +--shout3d.core.Light
              |
              +--shout3d.core.DirectionalLight

public class DirectionalLight
extends Light

A Directional Light


Field Summary
 FloatArrayField direction
           
 boolean isHeadlight
          Set this true and the light will shine relative to the space of the camera.
 
Fields inherited from class shout3d.core.Light
affectedGroups, color, defaultColor, intensity, on
 
Constructor Summary
DirectionalLight()
           
 
Methods inherited from class shout3d.core.Node
cleanUp, getDEFName, getField, getFieldByIndex, getFieldName, getNumFields, getTypeName, getViewer, isOfType, setDEFName, setViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

direction

public final FloatArrayField direction

isHeadlight

public boolean isHeadlight
Set this true and the light will shine relative to the space of the camera. For example, the default direction (-z) is like a miner's helmet light, shining straight out of the camera.
Constructor Detail

DirectionalLight

public DirectionalLight()