初始提交: UE5.3项目基础框架
This commit is contained in:
@ -0,0 +1,31 @@
|
||||
// Copyright 2020-2024 CesiumGS, Inc. and Contributors
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/Actor.h"
|
||||
#include "OriginPlacement.generated.h"
|
||||
|
||||
/**
|
||||
* An enumeration of the possible strategies for placing the origin of
|
||||
* a Georeference.
|
||||
*/
|
||||
UENUM(BlueprintType)
|
||||
enum class EOriginPlacement : uint8 {
|
||||
/**
|
||||
* Use the tileset's true origin as the Actor's origin. For georeferenced
|
||||
* tilesets, this usually means the Actor's origin will be at the center
|
||||
* of the Earth, which is not recommended. For a non-georeferenced tileset,
|
||||
* however, such as a detailed building with a local origin, putting the
|
||||
* Actor's origin at the same location as the tileset's origin can be useful.
|
||||
*/
|
||||
TrueOrigin UMETA(DisplayName = "True origin"),
|
||||
|
||||
/**
|
||||
* Use a custom position within the tileset as the Actor's origin. The
|
||||
* position is expressed as a longitude, latitude, and height, and that
|
||||
* position within the tileset will be at coordinate (0,0,0) in the Actor's
|
||||
* coordinate system.
|
||||
*/
|
||||
CartographicOrigin UMETA(DisplayName = "Longitude / latitude / height")
|
||||
};
|
||||
Reference in New Issue
Block a user