struct
#include <engine/render/lights/spot.hpp>
SpotLight Component which makes an entity emit a spot light in the direction of its local forward vector.
Public variables
- glm::vec3 color
- Color of the light.
- float intensity
- Intensity of the light.
- float range
- Range of the light.
- float spotAngle
- Angle of the spot light in degrees.
- float innerSpotAngle
- Angle of the spot light in degrees.