Cesium for Unreal 2.15.0
Loading...
Searching...
No Matches
CesiumSampleHeightResult.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
5#include "CesiumSampleHeightResult.generated.h"
6
7/**
8 * The result of sampling the height on a tileset at the given cartographic
9 * position.
10 */
11USTRUCT(BlueprintType)
12struct CESIUMRUNTIME_API FCesiumSampleHeightResult {
13 GENERATED_BODY()
14
15 /**
16 * The Longitude (X) and Latitude (Y) are the same values provided on input.
17 * The Height (Z) is the height sampled from the tileset if the SampleSuccess
18 * property is true, or the original height provided on input if SampleSuccess
19 * is false.
20 */
21 UPROPERTY(BlueprintReadWrite, Category = "Cesium")
22 FVector LongitudeLatitudeHeight = {0.0, 0.0, 0.0};
23
24 /**
25 * True if the height as sampled from the tileset successfully. False if the
26 * tileset doesn't have any height at that position, or if something went
27 * wrong. If something went wrong, the Warnings pin of the sampling function
28 * will have more information about the problem.
29 */
30 UPROPERTY(BlueprintReadWrite, Category = "Cesium")
31 bool SampleSuccess = false;
32};
The result of sampling the height on a tileset at the given cartographic position.
bool SampleSuccess
True if the height as sampled from the tileset successfully.
FVector LongitudeLatitudeHeight
The Longitude (X) and Latitude (Y) are the same values provided on input.