![]() |
Lumino
|
ポイントライトのコンポーネントです。 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 Color & | getColor () const |
ライトカラーを取得します。 | |
void | setIntensity (float intensity) |
ライトの明るさを設定します。(default: 1.0) | |
float | getIntensity () const |
ライトの明るさを取得します。 | |
void | setRange (float range) |
ライトの影響範囲を設定します。(default: 10.0) | |
float | getRange () const |
ライトの影響範囲を取得します。 | |
void | setAttenuation (float attenuation) |
ライトの減衰を設定します。(default: 1.0) | |
float | getAttenuation () const |
ライトの減衰を取得します。 | |
ポイントライトのコンポーネントです。