#include <Light.h>
Definition at line 76 of file Light.h.
◆ SphereLight() [1/2]
core::SphereLight::SphereLight |
( |
const Vector3d & |
position, |
|
|
double |
radius, |
|
|
const Vector3d & |
color, |
|
|
double |
intensity, |
|
|
bool |
isVisible |
|
) |
| |
SphereLight Createas a sphere light. The sphere light (or the special case point light) is a positional light emitting uniformly in all directions.
- Parameters
-
position | Light source position |
radius | The size of the sphere light |
color | Light source RGB color |
intensity | Amount of light emitted |
isVisible | Whether the light can be directly seen |
Definition at line 43 of file Light.cpp.
◆ SphereLight() [2/2]
core::SphereLight::SphereLight |
( |
| ) |
|
|
default |
◆ _position
◆ _radius
double core::SphereLight::_radius |
The documentation for this class was generated from the following files: