Cesium for Unreal 2.13.2
Loading...
Searching...
No Matches
OriginPlacement.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 "OriginPlacement.generated.h"
8
9/**
10 * An enumeration of the possible strategies for placing the origin of
11 * a Georeference.
12 */
13UENUM(BlueprintType)
14enum class EOriginPlacement : uint8 {
15 /**
16 * Use the tileset's true origin as the Actor's origin. For georeferenced
17 * tilesets, this usually means the Actor's origin will be at the center
18 * of the Earth, which is not recommended. For a non-georeferenced tileset,
19 * however, such as a detailed building with a local origin, putting the
20 * Actor's origin at the same location as the tileset's origin can be useful.
21 */
22 TrueOrigin UMETA(DisplayName = "True origin"),
23
24 /**
25 * Use a custom position within the tileset as the Actor's origin. The
26 * position is expressed as a longitude, latitude, and height, and that
27 * position within the tileset will be at coordinate (0,0,0) in the Actor's
28 * coordinate system.
29 */
30 CartographicOrigin UMETA(DisplayName = "Longitude / latitude / height")
31};
EOriginPlacement
An enumeration of the possible strategies for placing the origin of a Georeference.
@ UMETA
Use the tileset's true origin as the Actor's origin.