20 #ifndef ANTKEEPER_SCENE_LIGHT_HPP
21 #define ANTKEEPER_SCENE_LIGHT_HPP
67 void transformed()
override;
Abstract base class for light objects.
virtual light_type get_light_type() const noexcept=0
Returns an enumeration denoting the light object type.
constexpr const math::fvec3 & get_color() const noexcept
Returns the scene-linear RGB color of the light.
void set_color(const math::fvec3 &color)
Sets the color of the light.
virtual void color_updated()
Called each time the light color is modified.
void set_color_temperature(float temperature)
Sets the color of the light from a color temperature.
const aabb_type & get_bounds() const noexcept override
Returns the bounds of the object.
geom::box< float > aabb_type
Abstract base class for lights, cameras, model instances, and other scene objects.
n-dimensional axis-aligned rectangle.