1 #ifndef DIRECTIONAL_LIGHT_HPP 
    2 #define DIRECTIONAL_LIGHT_HPP 
    5 #include "RenderTexture.hpp" 
   28         static int Type() { 
return 6; }
 
   31         static unsigned New();
 
   34         static DirectionalLightComponent* Get( 
unsigned index );
 
   36         RenderTexture shadowMap;
 
   37         bool castsShadow = 
false;
 
Definition: AudioClip.hpp:4
 
Directional light illuminates the scene from a given direction. Ideal for sunlight. 
Definition: DirectionalLightComponent.hpp:10
 
void SetCastShadow(bool enable, int shadowMapSize)
 
GameObject is composed of components that define its behavior. 
Definition: GameObject.hpp:9
 
bool CastsShadow() const 
Definition: DirectionalLightComponent.hpp:14
 
std::string GetSerialized() const 
 
Contains game objects in a transform hierarchy. 
Definition: Scene.hpp:16