8#ifndef META_OCEAN_RENDERING_GI_POINT_LIGHT_H
9#define META_OCEAN_RENDERING_GI_POINT_LIGHT_H
22namespace GlobalIllumination
53 inline const Vector3& positionInline()
const;
59 inline const Vector3& attenuationInline()
const;
This class implements a class factory for all Global Illumination objects.
Definition GIFactory.h:30
This class is the base class for all Global Illumination light sources.
Definition GILightSource.h:49
This class implements a point light.
Definition GIPointLight.h:32
bool setAttenuation(const Vector3 &factors) override
Sets the attenuation factors for the point light.
Vector3 attenuation() const override
Returns the attenuation factors of the point light.
Vector3 lightPosition
Light position inside the local coordinate system.
Definition GIPointLight.h:88
~GIPointLight() override
Destructs a point light object.
const Vector3 & positionInline() const
Returns the position of the light object.
Definition GIPointLight.h:94
Vector3 position() const override
Returns the position of the light object.
const Vector3 & attenuationInline() const
Returns the attenuation factors of the point light.
Definition GIPointLight.h:99
void setPosition(const Vector3 &position) override
Sets the position of the light object.
GIPointLight()
Creates a new point light object.
Vector3 lightAttenuationFactors
Attenuation factor vector, with order (constant, linear, quadratic).
Definition GIPointLight.h:91
This class is the base class for all point lights.
Definition rendering/PointLight.h:43
The namespace covering the entire Ocean framework.
Definition Accessor.h:15