#include <Light.h>
Definition at line 55 of file Light.h.
◆ DirectionalLight() [1/2]
core::DirectionalLight::DirectionalLight |
( |
const Vector3d & |
direction, |
|
|
double |
angularDiameter, |
|
|
const Vector3d & |
color, |
|
|
double |
intensity, |
|
|
bool |
isVisible |
|
) |
| |
DirectionalLight Creates a light that shines from a specific direction not from a specific position. This light will behave as though it is infinitely far away and the rays produced from it are all parallel.
- Parameters
-
direction | Light source direction |
angularDiameter | Apparent size (angle in degree) of the light |
color | Light source RGB color |
intensity | Amount of light emitted |
isVisible | Whether the light can be directly seen |
Definition at line 35 of file Light.cpp.
◆ DirectionalLight() [2/2]
core::DirectionalLight::DirectionalLight |
( |
| ) |
|
|
default |
◆ _angularDiameter
double core::DirectionalLight::_angularDiameter |
◆ _direction
Vector3d core::DirectionalLight::_direction |
The documentation for this class was generated from the following files: