Cesium for Unreal 2.24.1
Loading...
Searching...
No Matches
ACesiumCartographicPolygon Class Reference

A spline-based polygon actor used to rasterize 2D polygons on top of Cesium 3D Tileset actors. More...

#include <CesiumCartographicPolygon.h>

Inheritance diagram for ACesiumCartographicPolygon:

Public Member Functions

 ACesiumCartographicPolygon ()
 
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.
 
void SetPolygonPoints (const ECesiumCoordinateReferenceSystem CoordinateReferenceSystem, const TArray< FVector > &Points)
 Sets the spline points from an array of positions in the specified coordinate reference system.
 
virtual void PostLoad () override
 

Public Attributes

USplineComponent * Polygon
 The polygon.
 
UCesiumGlobeAnchorComponentGlobeAnchor
 The Globe Anchor Component that precisely ties this Polygon to the Globe.
 

Protected Member Functions

virtual void BeginPlay () override
 

Detailed Description

A spline-based polygon actor used to rasterize 2D polygons on top of Cesium 3D Tileset actors.

Definition at line 37 of file CesiumCartographicPolygon.h.

Constructor & Destructor Documentation

◆ ACesiumCartographicPolygon()

ACesiumCartographicPolygon::ACesiumCartographicPolygon ( )

Member Function Documentation

◆ BeginPlay()

virtual void ACesiumCartographicPolygon::BeginPlay ( )
overrideprotectedvirtual

◆ CreateCartographicPolygon()

CesiumGeospatial::CartographicPolygon ACesiumCartographicPolygon::CreateCartographicPolygon ( const FTransform & worldToTileset) const

Creates and returns a CartographicPolygon object created from the current spline selection.

Parameters
worldToTilesetThe transformation from Unreal world coordinates to the coordinates of the Cesium3DTileset Actor for which the cartographic polygon is being created.

◆ OnConstruction()

virtual void ACesiumCartographicPolygon::OnConstruction ( const FTransform & Transform)
overridevirtual

◆ PostLoad()

virtual void ACesiumCartographicPolygon::PostLoad ( )
overridevirtual

◆ SetPolygonPoints()

void ACesiumCartographicPolygon::SetPolygonPoints ( const ECesiumCoordinateReferenceSystem CoordinateReferenceSystem,
const TArray< FVector > & Points )

Sets the spline points from an array of positions in the specified coordinate reference system.

Parameters
CoordinateReferenceSystemThe coordinate reference system in which the points are expressed.
PointsThe array of points expressed in the specified coordinate system.

Member Data Documentation

◆ GlobeAnchor

UCesiumGlobeAnchorComponent* ACesiumCartographicPolygon::GlobeAnchor

The Globe Anchor Component that precisely ties this Polygon to the Globe.

Definition at line 54 of file CesiumCartographicPolygon.h.

◆ Polygon

USplineComponent* ACesiumCartographicPolygon::Polygon

The polygon.

Definition at line 48 of file CesiumCartographicPolygon.h.


The documentation for this class was generated from the following file: