|
Wasabi
|
#include <WCamera.hpp>
Public Member Functions | |
| WCameraManager (Wasabi *const app) | |
| WError | Load () |
| WCamera * | GetDefaultCamera () const |
Public Member Functions inherited from WManager< WCamera > | |
| WManager (class Wasabi *const a) | |
| bool | RegisterChangeCallback (std::string name, std::function< void(WCamera *, bool)> callback) |
| void | RemoveChangeCallback (std::string name) |
| void | AddEntity (WCamera *entity) |
| bool | RemoveEntity (WCamera *entity) |
| void | OnEntityNameChanged (WCamera *entity, std::string oldName) |
| virtual void | Init () |
| WCamera * | GetEntity (uint32_t ID) const |
| WCamera * | GetEntity (std::string name) const |
| WCamera * | GetEntityByIndex (uint32_t index) const |
| uint32_t | GetEntitiesCount (void) const |
Additional Inherited Members | |
Public Attributes inherited from WManager< WCamera > | |
| class Wasabi *const | m_app |
Protected Attributes inherited from WManager< WCamera > | |
| std::vector< WCamera * > | m_entities [W_HASHTABLESIZE] |
| std::unordered_map< std::string, WCamera * > | m_entitiesByName |
Manager class for WCamera.
| WCamera* WCameraManager::GetDefaultCamera | ( | ) | const |
Retrieves a pointer to the default camera.
| WError WCameraManager::Load | ( | ) |
Prepare the Camera manager and create the default camera.
1.8.17