![]()  | 
  
    MAGE
    v0.171.0
    
   Matthias Advanced Game Engine 
   | 
 
#include <ambient_light.hpp>
  
 Public Member Functions | |
| AmbientLight () noexcept | |
| AmbientLight (const AmbientLight &light) noexcept | |
| AmbientLight (AmbientLight &&light) noexcept | |
| virtual | ~AmbientLight () | 
| AmbientLight & | operator= (const AmbientLight &light) noexcept | 
| AmbientLight & | operator= (AmbientLight &&light) noexcept | 
| RGB & | GetBaseColor () noexcept | 
| const RGB & | GetBaseColor () const noexcept | 
| F32 | GetRadiance () const noexcept | 
| void | SetRadiance (F32 radiance) noexcept | 
| const RGB | GetRadianceSpectrum () const noexcept | 
  Public Member Functions inherited from mage::Component | |
| virtual | ~Component () | 
| Component & | operator= (const Component &component) noexcept | 
| Component & | operator= (Component &&component) noexcept | 
| State | GetState () const noexcept | 
| void | SetState (State state) noexcept | 
| U64 | GetGuid () const noexcept | 
| bool | HasOwner () const noexcept | 
| ProxyPtr< Node > | GetOwner () noexcept | 
| ProxyPtr< const Node > | GetOwner () const noexcept | 
Private Attributes | |
| RGB | m_base_color | 
| F32 | m_radiance | 
Additional Inherited Members | |
  Protected Member Functions inherited from mage::Component | |
| Component () noexcept | |
| Component (const Component &component) noexcept | |
| Component (Component &&component) noexcept | |
A class of ambient lights.
      
  | 
  noexcept | 
Constructs an ambient light.
      
  | 
  defaultnoexcept | 
Constructs an ambient light from the given ambient light.
| [in] | light | A reference to the ambient light to copy. | 
      
  | 
  defaultnoexcept | 
Constructs an ambient light by moving the given ambient light.
| [in] | light | A reference to the ambient light to move. | 
      
  | 
  virtualdefault | 
Destructs this ambient light.
      
  | 
  noexcept | 
Returns the (linear) base color of this ambient light.
      
  | 
  noexcept | 
Returns the (linear) base color of this ambient light.
      
  | 
  noexcept | 
Returns the radiance of this ambient light.
      
  | 
  noexcept | 
Returns the radiance spectrum of this ambient light.
      
  | 
  defaultnoexcept | 
Copies the given ambient light to this ambient light.
| [in] | light | A reference to the ambient light to copy. | 
      
  | 
  defaultnoexcept | 
Moves the given ambient light to this ambient light.
| [in] | light | A reference to the ambient light to move. | 
      
  | 
  noexcept | 
Sets the radiance of this ambient light to the given radiance.
| [in] | radiance | The radiance in watts per square meter per steradians. | 
      
  | 
  private | 
The (linear) base color of this ambient light.
      
  | 
  private | 
The radiance in watts per square meter per steradians of this ambient light.