LightType
Declaration
enum class LightType {
Directional,
Point,
Spot,
Ambient,
Unknown
};
Notes
LightType is an enum used in Light to differentiate the different types of lights.
Directional
: A directional light emits parallel light rays (in its direction) on the whole scene.

Point
: A point light emits light rays from its position, all around it.

Spot
: A spot light emits light rays from its position, to its direction in cones defined by its cutoff values.

Ambient
: An ambient light emits light on every surface.
