#include <LightManager.h>
Inheritance diagram for Lamp::LightManager:
Public Member Functions | |
virtual AmbientLight * | createAmbientLight (const String &lightName) |
アンビエントライトの作成 | |
virtual DirectionalLight * | createDirectionalLight (const String &lightName) |
ディレクショナルライトの作成 | |
virtual PointLight * | createPointLight (const String &lightName) |
ポイントライトの作成 | |
Protected Member Functions | |
LightManager (Scene *scene) | |
コンストラクタ | |
Friends | |
class | Scene |
Definition at line 38 of file LightManager.h.
|
コンストラクタ
Definition at line 32 of file LightManager.cpp. |
|
アンビエントライトの作成 すでに同じライト名のライトが存在するとエラーになります。 空文字列を名前に指定するとエラーになります。
Definition at line 37 of file LightManager.cpp. References Lamp::SceneObjectManagerTemplate< Light >::addDatabase(), Lamp::SceneObjectManagerTemplate< Light >::checkName(), Lamp::SceneObjectManagerTemplate< Light >::getScene(), and NULL. Referenced by Lamp::AmbientLight::copyAmbientLight(), Lamp::TextSceneLoader::readAmbientLight(), and Lamp::BinarySceneLoader::readAmbientLight(). |
|
ディレクショナルライトの作成 すでに同じライト名のライトが存在するとエラーになります。 空文字列を名前に指定するとエラーになります。
Definition at line 45 of file LightManager.cpp. References Lamp::SceneObjectManagerTemplate< Light >::addDatabase(), Lamp::SceneObjectManagerTemplate< Light >::checkName(), Lamp::SceneObjectManagerTemplate< Light >::getScene(), and NULL. Referenced by Lamp::DirectionalLight::copyDirectionalLight(), Lamp::TextSceneLoader::readDirectionalLight(), and Lamp::BinarySceneLoader::readDirectionalLight(). |
|
ポイントライトの作成 すでに同じライト名のライトが存在するとエラーになります。 空文字列を名前に指定するとエラーになります。
Definition at line 53 of file LightManager.cpp. References Lamp::SceneObjectManagerTemplate< Light >::addDatabase(), Lamp::SceneObjectManagerTemplate< Light >::checkName(), Lamp::SceneObjectManagerTemplate< Light >::getScene(), and NULL. Referenced by Lamp::PointLight::copyPointLight(), Lamp::TextSceneLoader::readPointLight(), and Lamp::BinarySceneLoader::readPointLight(). |