Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`float[]` | `defaultDirection`
`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()` Constructs a default DirectionalLight

Methods inherited from class shout3d.core.Node
`getDEFName, getField, getFieldByIndex, getFieldName, getNumFields, getTypeName, isOfType, setDEFName, setViewer`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### defaultDirection

    public final float[] defaultDirection

### 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()

  Constructs a default DirectionalLight

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD