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

## de.rico.editor.datamodel
Class DirectLightData

    java.lang.Object
      de.rico.editor.datamodel.AbstractLightData
          de.rico.editor.datamodel.DirectLightData

    public class DirectLightData

extends AbstractLightData

This class represents a directional light in the world editors data model.

Author:
  Frank Bruns

Constructor Summary
`DirectLightData(Point3D dir, Color4f amb, Color4f diff, int lightNr)`

Method Summary
`float[]` | `getDirection()` Returns the direction of the light

Methods inherited from class de.rico.editor.datamodel.AbstractLightData
`getAmb, getDiff, getLightNr`

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

Constructor Detail

### DirectLightData

    public DirectLightData(Point3D dir,
                           Color4f amb,
                           Color4f diff,
                           int lightNr)

Method Detail

### getDirection

    public float[] getDirection()

  Returns the direction of the light

  Returns:
    direction of the light

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