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 AbstractLightData

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

Direct Known Subclasses:
  DirectLightData, PosLightData

    public class AbstractLightData

extends java.lang.Object

This class is the abstract base class for lights in the world editor data model.

Author:
  Frank Bruns

Constructor Summary
`AbstractLightData(Color4f amb, Color4f diff, int lightNr)`

Method Summary
`Color4f` | `getAmb()` Returns ambient color.
`Color4f` | `getDiff()` Returns diffuse color.
`int` | `getLightNr()` Returns the number of this light (0-7).

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

Constructor Detail

### AbstractLightData

    public AbstractLightData(Color4f amb,
                             Color4f diff,
                             int lightNr)

Method Detail

### getLightNr

    public int getLightNr()

  Returns the number of this light (0-7).

  Returns:
    light number

### getAmb

    public Color4f getAmb()

  Returns ambient color.

  Returns:
    ambient color

### getDiff

    public Color4f getDiff()

  Returns diffuse color.

  Returns:
    diffuse color

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