Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
CesiumIonRasterOverlay.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
6#include "CoreMinimal.h"
7#include "CesiumIonRasterOverlay.generated.h"
8
10
14UCLASS(
15 DisplayName = "Cesium ion Raster Overlay",
16 ClassGroup = (Cesium),
17 meta = (BlueprintSpawnableComponent))
18class CESIUMRUNTIME_API UCesiumIonRasterOverlay : public UCesiumRasterOverlay {
19 GENERATED_BODY()
20
21public:
28 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
29 int64 IonAssetID;
30
34 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
35 FString IonAccessToken;
36
41 UPROPERTY(
42 meta =
43 (DeprecatedProperty,
44 DeprecationMessage = "Use CesiumIonServer instead."))
45 FString IonAssetEndpointUrl_DEPRECATED;
46
50 UPROPERTY(
51 EditAnywhere,
52 BlueprintReadWrite,
53 Category = "Cesium",
54 AdvancedDisplay)
55 UCesiumIonServer* CesiumIonServer;
56
61 UFUNCTION(CallInEditor, Category = "Cesium")
62 void TroubleshootToken();
63
64 // UActorComponent overrides
65 virtual void PostLoad() override;
66
67protected:
68 virtual std::unique_ptr<CesiumRasterOverlays::RasterOverlay> CreateOverlay(
69 const CesiumRasterOverlays::RasterOverlayOptions& options = {}) override;
70};
Defines a Cesium ion Server.
FString DisplayName
The name to display for this server.
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