#include <Light.h>
|
| QuadLight (const Vector3d &position, const Vector3d &edge1, const Vector3d &edge2, const Vector3d &color, double intensity, bool isVisible) |
| QuadLight Creates a quad light. The quad light is a planar, procedural area light source emitting uniformly on one side into the half-space. The emission side is determined by the cross product of edge1 x edge2. More...
|
|
| QuadLight ()=default |
|
| Light (LightType type, const Vector3d &color, double intensity, bool isVisible) |
|
| Light ()=default |
|
virtual | ~Light ()=default |
|
Definition at line 96 of file Light.h.
◆ QuadLight() [1/2]
core::QuadLight::QuadLight |
( |
const Vector3d & |
position, |
|
|
const Vector3d & |
edge1, |
|
|
const Vector3d & |
edge2, |
|
|
const Vector3d & |
color, |
|
|
double |
intensity, |
|
|
bool |
isVisible |
|
) |
| |
QuadLight Creates a quad light. The quad light is a planar, procedural area light source emitting uniformly on one side into the half-space. The emission side is determined by the cross product of edge1 x edge2.
- Parameters
-
position | World-space position of one vertex of the quad light |
edge1 | Vector to one adjacent vertex |
edge2 | Vector to the other adjacent vertex |
color | Light source RGB color |
intensity | Amount of light emitted |
isVisible | Whether the light can be directly seen |
Definition at line 51 of file Light.cpp.
◆ QuadLight() [2/2]
core::QuadLight::QuadLight |
( |
| ) |
|
|
default |
◆ _edge1
◆ _edge2
◆ _position
The documentation for this class was generated from the following files: