Cesium for Unreal 2.15.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
9/**
10 * Stores runtime settings for the Cesium plugin.
11 */
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."))
24
25 UPROPERTY(
26 Config,
27 meta =
28 (DeprecatedProperty,
29 DeprecationMessage =
30 "Tokens are now configured on CesiumIonServer data assets."))
32
33 UPROPERTY(
34 Config,
35 EditAnywhere,
36 Category = "Level of Detail",
37 meta = (DisplayName = "Scale Level-of-Detail by Display DPI"))
39
40 /**
41 * Uses Unreal's occlusion culling engine to drive Cesium 3D Tiles selection,
42 * reducing the detail of tiles that are occluded by other objects in the
43 * scene so that less data overall needs to be loaded and rendered.
44 */
45 UPROPERTY(Config, EditAnywhere, Category = "Experimental Feature Flags")
47
48 /**
49 * The number of requests to handle before each prune of old cached results
50 * from the database.
51 */
52 UPROPERTY(
53 Config,
54 EditAnywhere,
55 Category = "Cache",
56 meta = (ConfigRestartRequired = true))
58
59 /**
60 * The maximum number of items that should be kept in the Sqlite database
61 * after pruning.
62 */
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.
bool EnableExperimentalOcclusionCullingFeature
Uses Unreal's occlusion culling engine to drive Cesium 3D Tiles selection, reducing the detail of til...
int MaxCacheItems
The maximum number of items that should be kept in the Sqlite database after pruning.
int RequestsPerCachePrune
The number of requests to handle before each prune of old cached results from the database.