Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
CesiumWebMapTileServiceRasterOverlay.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
6#include "Components/ActorComponent.h"
7#include "CoreMinimal.h"
8#include "CesiumWebMapTileServiceRasterOverlay.generated.h"
9
14UENUM(BlueprintType)
26
32UCLASS(ClassGroup = (Cesium), meta = (BlueprintSpawnableComponent))
33class CESIUMRUNTIME_API UCesiumWebMapTileServiceRasterOverlay
34 : public UCesiumRasterOverlay {
35 GENERATED_BODY()
36
37public:
43 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
44 FString BaseUrl;
45
49 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
50 FString Layer;
51
55 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
56 FString Style;
57
61 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
62 FString Format = "image/jpeg";
63
67 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
68 FString TileMatrixSetID;
69
76 UPROPERTY(
77 EditAnywhere,
78 BlueprintReadWrite,
79 Category = "Cesium",
80 meta = (EditCondition = "!bSpecifyTileMatrixSetLabels"))
81 FString TileMatrixSetLabelPrefix;
82
88 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
89 bool bSpecifyTileMatrixSetLabels = false;
90
96 UPROPERTY(
97 EditAnywhere,
98 BlueprintReadWrite,
99 Category = "Cesium",
100 meta = (EditCondition = "bSpecifyTileMatrixSetLabels"))
101 TArray<FString> TileMatrixSetLabels;
102
103 UPROPERTY(
104 meta =
105 (DeprecatedProperty, DeprecationMessage = "Use Projection instead."))
106 bool UseWebMercatorProjection_DEPRECATED;
107
113 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
116
122 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
123 bool bSpecifyTilingScheme = false;
124
132 UPROPERTY(
133 EditAnywhere,
134 BlueprintReadWrite,
135 Category = "Cesium",
136 meta = (EditCondition = "bSpecifyTilingScheme", ClampMin = 1))
137 int32 RootTilesX = 1;
138
146 UPROPERTY(
147 EditAnywhere,
148 BlueprintReadWrite,
149 Category = "Cesium",
150 meta = (EditCondition = "bSpecifyTilingScheme", ClampMin = 1))
151 int32 RootTilesY = 1;
152
159 UPROPERTY(
160 Category = "Cesium",
161 EditAnywhere,
162 BlueprintReadWrite,
163 meta =
164 (EditCondition = "bSpecifyTilingScheme",
165 ClampMin = -180.0,
166 ClampMax = 180.0))
167 double RectangleWest = -180;
168
175 UPROPERTY(
176 Category = "Cesium",
177 Category = "Cesium",
178 EditAnywhere,
179 BlueprintReadWrite,
180 meta =
181 (EditCondition = "bSpecifyTilingScheme",
182 ClampMin = -90.0,
183 ClampMax = 90.0))
184 double RectangleSouth = -90;
185
192 UPROPERTY(
193 Category = "Cesium",
194 EditAnywhere,
195 BlueprintReadWrite,
196 meta =
197 (EditCondition = "bSpecifyTilingScheme",
198 ClampMin = -180.0,
199 ClampMax = 180.0))
200 double RectangleEast = 180;
201
208 UPROPERTY(
209 Category = "Cesium",
210 EditAnywhere,
211 BlueprintReadWrite,
212 meta =
213 (EditCondition = "bSpecifyTilingScheme",
214 ClampMin = -90.0,
215 ClampMax = 90.0))
216 double RectangleNorth = 90;
217
223 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
224 bool bSpecifyZoomLevels = false;
225
233 UPROPERTY(
234 EditAnywhere,
235 BlueprintReadWrite,
236 Category = "Cesium",
237 meta = (EditCondition = "bSpecifyZoomLevels", ClampMin = 0))
238 int32 MinimumLevel = 0;
239
243 UPROPERTY(
244 EditAnywhere,
245 BlueprintReadWrite,
246 Category = "Cesium",
247 meta = (EditCondition = "bSpecifyZoomLevels", ClampMin = 0))
248 int32 MaximumLevel = 25;
249
253 UPROPERTY(
254 EditAnywhere,
255 BlueprintReadWrite,
256 Category = "Cesium",
257 meta = (ClampMin = 64, ClampMax = 2048))
258 int32 TileWidth = 256;
259
263 UPROPERTY(
264 EditAnywhere,
265 BlueprintReadWrite,
266 Category = "Cesium",
267 meta = (ClampMin = 64, ClampMax = 2048))
268 int32 TileHeight = 256;
269
270 virtual void Serialize(FArchive& Ar) override;
271
272protected:
273 virtual std::unique_ptr<CesiumRasterOverlays::RasterOverlay> CreateOverlay(
274 const CesiumRasterOverlays::RasterOverlayOptions& options = {}) override;
275};
ECesiumWebMapTileServiceRasterOverlayProjection
Specifies the type of projection used for projecting a Web Map Tile Service raster overlay.
@ WebMercator
The raster overlay is projected using Web Mercator.
@ Geographic
The raster overlay is projected using a geographic projection.
A quadtree pyramid of 2D raster images meant to be draped over a Cesium 3D Tileset.
virtual std::unique_ptr< CesiumRasterOverlays::RasterOverlay > CreateOverlay(const CesiumRasterOverlays::RasterOverlayOptions &options={}) 0