Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
FCesiumCamera Struct Reference

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

FVector2D ViewportSize
 The pixel dimensions of the viewport.
 
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.
 

Detailed Description

A camera description that ACesium3DTilesets can use to decide what tiles need to be loaded to sufficiently cover the camera view.

Definition at line 19 of file CesiumCamera.h.

Constructor & Destructor Documentation

◆ FCesiumCamera() [1/3]

FCesiumCamera::FCesiumCamera ( )

Construct an uninitialized FCesiumCamera object.

◆ FCesiumCamera() [2/3]

FCesiumCamera::FCesiumCamera ( const FVector2D & ViewportSize,
const FVector & Location,
const FRotator & Rotation,
double FieldOfViewDegrees )

Construct a new FCesiumCamera object.

Parameters
ViewportSizeThe viewport pixel size.
LocationThe Unreal location.
RotationThe Unreal rotation.
FieldOfViewDegreesThe horizontal field of view in degrees.

◆ FCesiumCamera() [3/3]

FCesiumCamera::FCesiumCamera ( const FVector2D & ViewportSize,
const FVector & Location,
const FRotator & Rotation,
double FieldOfViewDegrees,
double OverrideAspectRatio )

Construct a new FCesiumCamera object.

Parameters
ViewportSizeThe viewport pixel size.
LocationThe Unreal location.
RotationThe Unreal rotation.
FieldOfViewDegreesThe horizontal field of view in degrees.
OverrideAspectRatioThe overriden aspect ratio.

Member Data Documentation

◆ FieldOfViewDegrees

double FCesiumCamera::FieldOfViewDegrees

The horizontal field of view of the camera in degrees.

Definition at line 45 of file CesiumCamera.h.

◆ Location

FVector FCesiumCamera::Location

The Unreal location of the camera.

Definition at line 33 of file CesiumCamera.h.

◆ OverrideAspectRatio

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 57 of file CesiumCamera.h.

◆ Rotation

FRotator FCesiumCamera::Rotation

The Unreal rotation of the camera.

Definition at line 39 of file CesiumCamera.h.

◆ ViewportSize

FVector2D FCesiumCamera::ViewportSize

The pixel dimensions of the viewport.

Definition at line 27 of file CesiumCamera.h.


The documentation for this struct was generated from the following file: