20 #ifndef ANTKEEPER_SCENE_POINT_LIGHT_HPP
21 #define ANTKEEPER_SCENE_POINT_LIGHT_HPP
47 m_luminous_flux = luminous_flux;
48 luminous_flux_updated();
54 return m_luminous_flux;
60 return m_colored_luminous_flux;
64 void color_updated()
override;
65 void luminous_flux_updated() noexcept;
67 float m_luminous_flux{};
Abstract base class for light objects.
Light source that radiates outward from a point.
light_type get_light_type() const noexcept override
Returns light_type::point.
void set_luminous_flux(float luminous_flux) noexcept
Sets the luminous flux of the light.
constexpr float get_luminous_flux() const noexcept
Returns the luminous flux of the light.
constexpr const math::fvec3 & get_colored_luminous_flux() const noexcept
Returns the color-modulated luminous flux of the light.