const Color4 & getAmbient() const
float getQuadraticAttenuation() const
float getSpotExponent() const
void setEnabled(bool enabled)
Set enabled.
void setSpecular(const Color4 &specular)
Set specular light component.
void setConstantAttenuation(float constantAttenuation)
Set up constant attenuation.
const Color4 & getSpecular() const
void setSpotDirection(const Vector3 &spotDirection)
Set spot direction.
float getSpotCutOff() const
void setAmbient(const Color4 &ambient)
Set ambient light component.
float getLinearAttenuation() const
void setQuadraticAttenuation(float quadraticAttenuation)
Set up quadratic attenuation.
void setSpotCutOff(float spotCutOff)
Set spot cut off.
float constantAttenuation
const Vector3 & getSpotDirection() const
float quadraticAttenuation
void setPosition(const Vector4 &position)
Set light position.
const Color4 & getDiffuse() const
void setDiffuse(const Color4 &diffuse)
Set diffuse light component.
void setLinearAttenuation(float linearAttenuation)
Set up linear attenuation.
void setSpotExponent(float spotExponent)
Set up spot exponent.
float getConstantAttenuation() const
SceneLight(int id)
Public default constructor.
const Vector4 & getPosition() const