9#ifndef AVARA3D_VISUAL_LIGHT_POINTLIGHT_H
10#define AVARA3D_VISUAL_LIGHT_POINTLIGHT_H
15#include "a3d/visual/light/Attenuation.h"
16#include "a3d/visual/light/Light.h"
Represents a normalized RGBA color.
Base class for light sources attached to Scene Nodes.
const std::optional< std::string > & name() const
Returns the optional light name.
const Color & color() const
Returns the light color.
Omnidirectional light located at its containing Node's world position.
const Attenuation & attenuation() const
Returns the distance-attenuation coefficients.
PointLight(const std::string &name)
Creates a named white PointLight.
PointLight(const std::string &name, const Color &color)
Creates a PointLight with name and color.
PointLight(const Color &color)
Creates an unnamed PointLight with color.
PointLight()
Creates an unnamed white PointLight.
Distance-attenuation coefficients for point and spot lights.