Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
CesiumSubLevel.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 "GameFramework/Actor.h"
7#include "CesiumSubLevel.generated.h"
8
9class ULevelStreaming;
10
11struct UE_DEPRECATED(
12 5.0,
13 "The FCesiumSubLevel struct has been deprecated. Use Level Instance Actors and UCesiumSubLevelComponent instead.")
15
16/*
17 * Sublevels can be georeferenced to the globe by filling out this struct.
18 */
19USTRUCT()
21 GENERATED_BODY()
22
23
26 UPROPERTY(VisibleAnywhere, Category = "Cesium")
27 FString LevelName;
28
40 UPROPERTY(
41 EditAnywhere,
42 Category = "Cesium",
43 Meta = (EditCondition = "CanBeEnabled"))
44 bool Enabled = true;
45
50 UPROPERTY(
51 EditAnywhere,
52 Category = "Cesium",
53 meta = (ClampMin = -90.0, ClampMax = 90.0, EditCondition = "Enabled"))
54 double LevelLatitude = 0.0;
55
60 UPROPERTY(
61 EditAnywhere,
62 Category = "Cesium",
63 meta = (ClampMin = -180.0, ClampMax = 180.0, EditCondition = "Enabled"))
64 double LevelLongitude = 0.0;
65
69 UPROPERTY(
70 EditAnywhere,
71 Category = "Cesium",
72 meta = (EditCondition = "Enabled"))
73 double LevelHeight = 0.0;
74
79 UPROPERTY(
80 EditAnywhere,
81 Category = "Cesium",
82 meta = (ClampMin = 0.0, EditCondition = "Enabled"))
83 double LoadRadius = 0.0;
84
85 UPROPERTY(VisibleDefaultsOnly, Category = "Cesium")
86 bool CanBeEnabled = false;
87};