#include <DirectionalLight.h>
Inheritance diagram for Lamp::DirectionalLight:

Public Member Functions | |
| virtual SceneLeaf * | copy (u_int copyMask=0) const |
| コピー | |
| virtual Light * | copyLight () const |
| コピー | |
| virtual DirectionalLight * | copyDirectionalLight () const |
| ディレクショナルライトのコピー | |
| virtual void | setColor (const Color3f &color) |
| ライト色の設定 | |
| virtual Color3f | getColor () const |
| ライト色の取得 | |
| virtual void | setDiffuseColor (const Color3f &color) |
| ディフューズライト色の設定 | |
| virtual const Color3f & | getDiffuseColor () const |
| ディフューズライト色の取得 | |
| virtual void | setSpecularColor (const Color3f &color) |
| スペキュラライト色の設定 | |
| virtual const Color3f & | getSpecularColor () const |
| スペキュラライト色の取得 | |
| virtual void | setDirection (const Vector3 &direction) |
| ライトの方向設定 | |
| virtual const Vector3 & | getDirection () const |
| ライトの方向取得 | |
| virtual const Vector3 & | getWorldDirection () const |
| ライトのワールド方向取得 | |
| virtual bool | isDirectionalLight () const |
| ディレクショナルライトかどうか | |
Protected Member Functions | |
| DirectionalLight (const String &name, Scene *scene) | |
| コンストラクタ | |
| virtual | ~DirectionalLight () |
| デストラクタ | |
| virtual void | traverse (const Matrix34 &parentMatrix, bool parentEnabled, bool parentScaled, bool parentChanged) |
| 走査 | |
Friends | |
| class | LightManager |
Definition at line 36 of file DirectionalLight.h.
|
||||||||||||
|
コンストラクタ
Definition at line 34 of file DirectionalLight.cpp. |
|
|
コピー
Implements Lamp::SceneLeaf. Definition at line 45 of file DirectionalLight.h. References copyDirectionalLight(). |
|
|
ディレクショナルライトのコピー
Definition at line 45 of file DirectionalLight.cpp. References copyLight(), Lamp::Light::copyLightValue(), Lamp::LightManager::createDirectionalLight(), Lamp::Scene::getLightManager(), Lamp::SceneObject::name_, Lamp::SceneObjectManagerTemplate< Light >::rename(), Lamp::SceneObject::scene_, setDiffuseColor(), setDirection(), and setSpecularColor(). Referenced by copy(), and copyLight(). |
|
|
コピー
Implements Lamp::Light. Definition at line 53 of file DirectionalLight.h. References copyDirectionalLight(). Referenced by copyDirectionalLight(). |
|
|
ライト色の取得
Implements Lamp::Light. Definition at line 74 of file DirectionalLight.h. References Lamp::Color3f::b, Lamp::Color3f::g, and Lamp::Color3f::r. |
|
|
ディフューズライト色の取得
Definition at line 92 of file DirectionalLight.h. Referenced by Lamp::RenderingDevice::enableDirectionalLight(), Lamp::TextSceneSaver::writeDirectionalLight(), and Lamp::BinarySceneSaver::writeDirectionalLight(). |
|
|
ライトの方向取得
Definition at line 124 of file DirectionalLight.h. Referenced by Lamp::TextSceneSaver::writeDirectionalLight(), and Lamp::BinarySceneSaver::writeDirectionalLight(). |
|
|
スペキュラライト色の取得
Definition at line 107 of file DirectionalLight.h. Referenced by Lamp::RenderingDevice::enableDirectionalLight(), Lamp::TextSceneSaver::writeDirectionalLight(), and Lamp::BinarySceneSaver::writeDirectionalLight(). |
|
|
ライトのワールド方向取得
Definition at line 130 of file DirectionalLight.h. References Assert, Lamp::SceneLeaf::getParent(), and NULL. Referenced by Lamp::RenderingDevice::enableDirectionalLight(). |
|
|
ディレクショナルライトかどうか
Reimplemented from Lamp::Light. Definition at line 140 of file DirectionalLight.h. Referenced by Lamp::DrawRequest::addDirectionalLight(). |
|
|
ライト色の設定
Implements Lamp::Light. Definition at line 66 of file DirectionalLight.h. |
|
|
ディフューズライト色の設定
Definition at line 86 of file DirectionalLight.h. Referenced by copyDirectionalLight(), Lamp::TextSceneLoader::readDirectionalLight(), and Lamp::BinarySceneLoader::readDirectionalLight(). |
|
|
ライトの方向設定
Definition at line 114 of file DirectionalLight.h. References Lamp::Vector3::normalize(). Referenced by copyDirectionalLight(), Lamp::TextSceneLoader::readDirectionalLight(), and Lamp::BinarySceneLoader::readDirectionalLight(). |
|
|
スペキュラライト色の設定
Definition at line 99 of file DirectionalLight.h. Referenced by copyDirectionalLight(), Lamp::TextSceneLoader::readDirectionalLight(), and Lamp::BinarySceneLoader::readDirectionalLight(). |
|
||||||||||||||||||||
|
走査
Reimplemented from Lamp::SceneLeaf. Definition at line 59 of file DirectionalLight.cpp. References Assert, Lamp::Vector3::isUnit(), Lamp::Matrix34::multiply33(), and Lamp::Vector3::normalize(). |
1.3.2