Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# Lamp::CameraManager Class Reference

カメラマネージャ More...

`#include <CameraManager.h>`

Inheritance diagram for Lamp::CameraManager:

List of all members.

## Public Member Functions
virtual Camera * | createCamera (const String &cameraName)
| カメラの作成
## Protected Member Functions
| CameraManager (Scene *scene)
| コンストラクタ
## Friends
class | Scene

## Detailed Description

カメラマネージャ

Definition at line 36 of file CameraManager.h.

## Constructor & Destructor Documentation

Lamp::CameraManager::CameraManager | ( | Scene * | scene | ) | `[protected]`

  | コンストラクタ Parameters:
  scene | シーン
Definition at line 32 of file CameraManager.cpp.

## Member Function Documentation

Camera * Lamp::CameraManager::createCamera | ( | const String & | cameraName | ) | `[virtual]`

  | カメラの作成 すでに同じカメラ名のカメラが存在するとエラーになります。 空文字列を名前に指定するとエラーになります。 Parameters:
  cameraName | カメラ名
Returns: 作成されたカメラ Definition at line 37 of file CameraManager.cpp. References Lamp::SceneObjectManagerTemplate< Camera >::addDatabase(), Lamp::SceneObjectManagerTemplate< Camera >::checkName(), Lamp::SceneObjectManagerTemplate< Camera >::getScene(), and NULL. Referenced by Lamp::SceneFramework::clearScene(), Lamp::Camera::copy(), and Lamp::SceneFramework::frameworkInitialize().

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

- CameraManager.h
- CameraManager.cpp