6#include "CesiumGeospatial/CartographicPolygon.h"
7#include "CesiumGeospatial/GlobeRectangle.h"
9#include "Components/SplineComponent.h"
10#include "CoreMinimal.h"
11#include "Engine/StaticMesh.h"
12#include "GameFramework/Actor.h"
15#include "CesiumCartographicPolygon.generated.h"
21UCLASS(ClassGroup = Cesium,
meta = (BlueprintSpawnableComponent))
32 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category =
"Cesium")
38 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category =
"Cesium")
USplineComponent * Polygon
The polygon.
virtual void BeginPlay() override
ACesiumCartographicPolygon()
virtual void PostLoad() override
virtual void OnConstruction(const FTransform &Transform) override
CesiumGeospatial::CartographicPolygon CreateCartographicPolygon(const FTransform &worldToTileset) const
Creates and returns a CartographicPolygon object created from the current spline selection.
UCesiumGlobeAnchorComponent * GlobeAnchor
The Globe Anchor Component that precisely ties this Polygon to the Globe.
This component can be added to a movable actor to anchor it to the globe and maintain precise placeme...