Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
CesiumRuntimeSettings.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Engine/DeveloperSettings.h"
7#include "CesiumRuntimeSettings.generated.h"
8
12UCLASS(Config = Engine, DefaultConfig, meta = (DisplayName = "Cesium"))
13class CESIUMRUNTIME_API UCesiumRuntimeSettings : public UDeveloperSettings {
14 GENERATED_UCLASS_BODY()
15
16public:
17 UPROPERTY(
18 Config,
19 meta =
20 (DeprecatedProperty,
21 DeprecationMessage =
22 "Tokens are now configured on CesiumIonServer data assets."))
23 FString DefaultIonAccessTokenId_DEPRECATED;
24
25 UPROPERTY(
26 Config,
27 meta =
28 (DeprecatedProperty,
29 DeprecationMessage =
30 "Tokens are now configured on CesiumIonServer data assets."))
31 FString DefaultIonAccessToken_DEPRECATED;
32
33 UPROPERTY(
34 Config,
35 EditAnywhere,
36 Category = "Level of Detail",
37 meta = (DisplayName = "Scale Level-of-Detail by Display DPI"))
38 bool ScaleLevelOfDetailByDPI = true;
39
45 UPROPERTY(Config, EditAnywhere, Category = "Experimental Feature Flags")
46 bool EnableExperimentalOcclusionCullingFeature = false;
47
52 UPROPERTY(
53 Config,
54 EditAnywhere,
55 Category = "Cache",
56 meta = (ConfigRestartRequired = true))
57 int RequestsPerCachePrune = 10000;
58
63 UPROPERTY(
64 Config,
65 EditAnywhere,
66 Category = "Cache",
67 meta = (ConfigRestartRequired = true))
68 int MaxCacheItems = 4096;
69};
Stores runtime settings for the Cesium plugin.