8#ifndef META_OCEAN_RENDERING_POINT_LIGHT_H
9#define META_OCEAN_RENDERING_POINT_LIGHT_H
LightSource()
Creates a new light source object.
ObjectType
Definition of different object type.
Definition Object.h:62
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
VectorT3< Scalar > Vector3
Definition of a 3D vector.
Definition Vector3.h:29
SmartObjectRef< PointLight > PointLightRef
Definition of a smart object reference holding a point light.
Definition rendering/PointLight.h:28
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15