de.rico.editor.datamodel
Class PosLightData

java.lang.Object
  extended by de.rico.editor.datamodel.AbstractLightData
      extended by de.rico.editor.datamodel.PosLightData
Direct Known Subclasses:
SpotLightData

public class PosLightData
extends AbstractLightData

This class is the editor reprensentation of a positional light.

Author:
Frank Bruns

Constructor Summary
PosLightData(Point3D pos, Color4f amb, Color4f diff, int lightNr)
           
 
Method Summary
 Point3D getPosition()
          Returns the position data.
 
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

PosLightData

public PosLightData(Point3D pos,
                    Color4f amb,
                    Color4f diff,
                    int lightNr)
Method Detail

getPosition

public Point3D getPosition()
Returns the position data.

Returns:
the position of the light