8 #ifndef META_OCEAN_RENDERING_SPOT_LIGHT_H
9 #define META_OCEAN_RENDERING_SPOT_LIGHT_H
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
This class implements a smart rendering object reference.
Definition: rendering/ObjectRef.h:34
This class is the base class for all spot lights.
Definition: rendering/SpotLight.h:37
virtual void setDirection(const Vector3 &direction)
Sets the direction of this directional light.
virtual Scalar coneAngle() const
Returns the angle of the light cone in radian.
virtual Vector3 direction() const
Returns the direction of this directional light.
~SpotLight() override
Destructs a spot light.
SpotLight()
Creates a new sport light.
virtual bool setSpotExponent(const Scalar exponent)
Sets the sharpness of the spot as fall off exponent.
ObjectType type() const override
Returns the type of this object.
virtual bool setConeAngle(const Scalar angle)
Sets the angle of the light cone in radian.
virtual Scalar spotExponent() const
Returns the sharpness of the spot as fall off exponent.
float Scalar
Definition of a scalar type.
Definition: Math.h:128
SmartObjectRef< SpotLight > SpotLightRef
Definition of a smart object reference holding a spot light.
Definition: rendering/SpotLight.h:23
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15