Blue Brain BioExplorer
core::AmbientLight Class Reference

#include <Light.h>

Inheritance diagram for core::AmbientLight:
Collaboration diagram for core::AmbientLight:

Public Member Functions

 AmbientLight (const Vector3d &color, double intensity, bool isVisible)
 AmbientLight The ambient light surrounds the scene and illuminates it from infinity with constant radiance (determined by combining the parameters color and intensity). More...
 
 AmbientLight ()=default
 
- Public Member Functions inherited from core::Light
 Light (LightType type, const Vector3d &color, double intensity, bool isVisible)
 
 Light ()=default
 
virtual ~Light ()=default
 

Additional Inherited Members

- Public Attributes inherited from core::Light
LightType _type
 
Vector3d _color
 
double _intensity
 
bool _isVisible
 

Detailed Description

Definition at line 150 of file Light.h.

Constructor & Destructor Documentation

◆ AmbientLight() [1/2]

core::AmbientLight::AmbientLight ( const Vector3d color,
double  intensity,
bool  isVisible 
)

AmbientLight The ambient light surrounds the scene and illuminates it from infinity with constant radiance (determined by combining the parameters color and intensity).

Parameters
colorLight source RGB color
intensityAmount of light emitted
isVisibleWhether the light can be directly seen

Definition at line 72 of file Light.cpp.

◆ AmbientLight() [2/2]

core::AmbientLight::AmbientLight ( )
default

The documentation for this class was generated from the following files: