Directional light illuminates the Scene from a given direction. Ideal for sunlight.  
 More...
#include <DirectionalLightComponent.hpp>
 | 
| 
class  | GameObject | 
|   | 
| 
class  | Scene | 
|   | 
Directional light illuminates the Scene from a given direction. Ideal for sunlight. 
 
  
  
      
        
          | bool ae3d::DirectionalLightComponent::CastsShadow  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
- Returns
 - True, if the light casts a shadow. 
 
 
 
  
  
      
        
          | class GameObject* ae3d::DirectionalLightComponent::GetGameObject  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | std::string ae3d::DirectionalLightComponent::GetSerialized  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | void ae3d::DirectionalLightComponent::SetCastShadow  | 
          ( | 
          bool  | 
          enable,  | 
        
        
           | 
           | 
          int  | 
          shadowMapSize  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | enable | If true, the light will cast a shadow.  | 
    | shadowMapSize | Shadow map size in pixels. If it's invalid, it falls back to 512.  | 
  
   
 
 
The documentation for this class was generated from the following file: