Manages custom FCesiumCameras for all ACesium3DTilesets in the world.
More...
#include <CesiumCameraManager.h>
Manages custom FCesiumCameras for all ACesium3DTilesets in the world.
Definition at line 16 of file CesiumCameraManager.h.
◆ ACesiumCameraManager()
| ACesiumCameraManager::ACesiumCameraManager |
( |
| ) |
|
◆ AddCamera()
| int32 ACesiumCameraManager::AddCamera |
( |
UPARAM(ref) const FCesiumCamera & | Camera | ) |
|
Register a new camera with the camera manager.
- Parameters
-
| Camera | The current state for the new camera. |
- Returns
- The generated ID for this camera. Use this ID to refer to the camera in the future when calling UpdateCamera.
◆ GetCameras()
| const TMap< int32, FCesiumCamera > & ACesiumCameraManager::GetCameras |
( |
| ) |
const |
Get a read-only map of the current camera IDs to cameras.
◆ GetDefaultCameraManager()
| static ACesiumCameraManager * ACesiumCameraManager::GetDefaultCameraManager |
( |
const UObject * | WorldContextObject | ) |
|
|
static |
Get the camera manager for this world.
◆ RemoveCamera()
| bool ACesiumCameraManager::RemoveCamera |
( |
int32 | CameraId | ) |
|
Unregister an existing camera with the camera manager.
- Parameters
-
| CameraId | The ID of the camera, as returned by AddCamera during registration. |
- Returns
- Whether the updating was successful. If false, the CameraId was invalid.
◆ ShouldTickIfViewportsOnly()
| virtual bool ACesiumCameraManager::ShouldTickIfViewportsOnly |
( |
| ) |
const |
|
overridevirtual |
◆ Tick()
| virtual void ACesiumCameraManager::Tick |
( |
float | DeltaTime | ) |
|
|
overridevirtual |
◆ UpdateCamera()
| bool ACesiumCameraManager::UpdateCamera |
( |
int32 | CameraId, |
|
|
UPARAM(ref) const FCesiumCamera & | Camera ) |
Update the state of the specified camera.
- Parameters
-
| CameraId | The ID of the camera, as returned by AddCamera during registration. |
| Camera | The new, updated state of the camera. |
- Returns
- Whether the updating was successful. If false, the CameraId was invalid.
The documentation for this class was generated from the following file: