Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
CesiumCamera.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
5#include "Math/Rotator.h"
6#include "Math/Vector.h"
7#include "Math/Vector2D.h"
8#include "UObject/ObjectMacros.h"
9
10#include "Cesium3DTilesSelection/ViewState.h"
11
12#include "CesiumCamera.generated.h"
13
18USTRUCT(BlueprintType)
19struct CESIUMRUNTIME_API FCesiumCamera {
20 GENERATED_USTRUCT_BODY()
21
22public:
26 UPROPERTY(BlueprintReadWrite, Category = "Cesium")
27 FVector2D ViewportSize;
28
32 UPROPERTY(BlueprintReadWrite, Category = "Cesium")
33 FVector Location;
34
38 UPROPERTY(BlueprintReadWrite, Category = "Cesium")
39 FRotator Rotation;
40
44 UPROPERTY(BlueprintReadWrite, Category = "Cesium")
45 double FieldOfViewDegrees;
46
56 UPROPERTY(BlueprintReadWrite, Category = "Cesium")
57 double OverrideAspectRatio = 0.0;
58
63
73 const FVector2D& ViewportSize,
74 const FVector& Location,
75 const FRotator& Rotation,
76 double FieldOfViewDegrees);
77
88 const FVector2D& ViewportSize,
89 const FVector& Location,
90 const FRotator& Rotation,
91 double FieldOfViewDegrees,
92 double OverrideAspectRatio);
93};
A camera description that ACesium3DTilesets can use to decide what tiles need to be loaded to suffici...