Lumino
ln::DirectionalLightComponent Class Reference

ディレクショナルライトのコンポーネントです。 More...

#include <LightComponent.hpp>

Inherits ln::VisualComponent.

Public Member Functions

void setEnabled (bool enabled)
 ライトの有効状態を設定します。false の場合、ライトはシーンに影響しません。(default: true)
 
bool isEnabled () const
 ライトの有効状態を取得します。
 
void setColor (const Color &color)
 ライトカラーを設定します。(default: White)
 
const ColorgetColor () const
 ライトカラーを取得します。
 
void setIntensity (float intensity)
 ライトの明るさを設定します。(default: 0.5)
 
float getIntensity () const
 ライトの明るさを取得します。
 
void setShadowEffectiveDistance (float value)
 視点からの、影を生成できる距離を指定します。 (default: 0.0f)
 
float shadowEffectiveDistance () const
 視点からの、影を生成できる距離を取得します。
 
void setShadowEffectiveDepth (float value)
 光源方向からの、影を生成できる距離を指定します。 (default: 0.0f) ※これはシャドウマップの深度値の範囲となります。
 
float shadowEffectiveDepth () const
 光源方向からの、影を生成できる距離を指定します。
 

Detailed Description

ディレクショナルライトのコンポーネントです。


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