![]() |
Cesium for Unreal 2.24.1
|
A camera description that ACesium3DTilesets can use to decide what tiles need to be loaded to sufficiently cover the camera view.
More...
#include <CesiumCamera.h>
Public Member Functions | |
| FCesiumCamera () | |
| Construct an uninitialized FCesiumCamera object. | |
| FCesiumCamera (const FVector2D &ViewportSize, const FVector &Location, const FRotator &Rotation, double FieldOfViewDegrees) | |
| Construct a new FCesiumCamera object. | |
| FCesiumCamera (const FVector2D &ViewportSize, const FVector &Location, const FRotator &Rotation, double FieldOfViewDegrees, double OverrideAspectRatio) | |
| Construct a new FCesiumCamera object. | |
Public Attributes | |
| ECameraParameterSource | ParameterSource = ECameraParameterSource::Manual |
| The desired source of camera parameters. | |
| FVector2D | ViewportSize |
| The pixel dimensions of the viewport. | |
| TSoftObjectPtr< UCameraComponent > | CameraComponent |
| The camera component from which to retrieve parameters. | |
| FVector | Location |
| The Unreal location of the camera. | |
| FRotator | Rotation |
| The Unreal rotation of the camera. | |
| double | FieldOfViewDegrees |
| The horizontal field of view of the camera in degrees. | |
| double | OverrideAspectRatio = 0.0 |
| The overriden aspect ratio for this camera. | |
A camera description that ACesium3DTilesets can use to decide what tiles need to be loaded to sufficiently cover the camera view.
Definition at line 33 of file CesiumCamera.h.
| FCesiumCamera::FCesiumCamera | ( | ) |
Construct an uninitialized FCesiumCamera object.
| FCesiumCamera::FCesiumCamera | ( | const FVector2D & | ViewportSize, |
| const FVector & | Location, | ||
| const FRotator & | Rotation, | ||
| double | FieldOfViewDegrees ) |
Construct a new FCesiumCamera object.
| ViewportSize | The viewport pixel size. |
| Location | The Unreal location. |
| Rotation | The Unreal rotation. |
| FieldOfViewDegrees | The horizontal field of view in degrees. |
| FCesiumCamera::FCesiumCamera | ( | const FVector2D & | ViewportSize, |
| const FVector & | Location, | ||
| const FRotator & | Rotation, | ||
| double | FieldOfViewDegrees, | ||
| double | OverrideAspectRatio ) |
Construct a new FCesiumCamera object.
| ViewportSize | The viewport pixel size. |
| Location | The Unreal location. |
| Rotation | The Unreal rotation. |
| FieldOfViewDegrees | The horizontal field of view in degrees. |
| OverrideAspectRatio | The overriden aspect ratio. |
| TSoftObjectPtr<UCameraComponent> FCesiumCamera::CameraComponent |
The camera component from which to retrieve parameters.
Due to UI limitations, this property must be set through Blueprints or C++. Used when ParameterSource is set to Camera Component.
Definition at line 61 of file CesiumCamera.h.
| double FCesiumCamera::FieldOfViewDegrees |
The horizontal field of view of the camera in degrees.
Used when Parameter Source is set to Manual.
Definition at line 97 of file CesiumCamera.h.
| FVector FCesiumCamera::Location |
The Unreal location of the camera.
Used when Parameter Source is set to Manual.
Definition at line 73 of file CesiumCamera.h.
| double FCesiumCamera::OverrideAspectRatio = 0.0 |
The overriden aspect ratio for this camera.
When this is 0.0f, use the aspect ratio implied by ViewportSize.
This may be different from the aspect ratio implied by the ViewportSize and black bars are added as needed in order to achieve this aspect ratio within a larger viewport.
Definition at line 109 of file CesiumCamera.h.
| ECameraParameterSource FCesiumCamera::ParameterSource = ECameraParameterSource::Manual |
The desired source of camera parameters.
Definition at line 41 of file CesiumCamera.h.
| FRotator FCesiumCamera::Rotation |
The Unreal rotation of the camera.
Used when Parameter Source is set to Manual.
Definition at line 85 of file CesiumCamera.h.
| FVector2D FCesiumCamera::ViewportSize |
The pixel dimensions of the viewport.
Definition at line 47 of file CesiumCamera.h.