8 #ifndef META_OCEAN_RENDERING_POINT_LIGHT_H
9 #define META_OCEAN_RENDERING_POINT_LIGHT_H
This is the base class for all lights.
Definition: LightSource.h:38
ObjectType
Definition of different object type.
Definition: Object.h:63
This class is the base class for all point lights.
Definition: rendering/PointLight.h:43
virtual void setPosition(const Vector3 &position)
Sets the position of the light object.
~PointLight() override
Destructs a point light.
virtual Vector3 attenuation() const
Returns the attenuation factors of the point light.
PointLight()
Creates a new point light.
ObjectType type() const override
Returns the type of this object.
virtual bool setAttenuation(const Vector3 &factors)
Sets the attenuation factors for the point light.
virtual Vector3 position() const
Returns the position of the light object.
This class implements a smart rendering object reference.
Definition: rendering/ObjectRef.h:34
SmartObjectRef< PointLight > PointLightRef
Definition of a smart object reference holding a point light.
Definition: rendering/PointLight.h:21
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15