Cesium for Unreal
2.12.0
Loading...
Searching...
No Matches
CesiumSampleHeightMostDetailedAsyncAction.h
Go to the documentation of this file.
1
// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
#pragma once
3
4
#include "
CesiumSampleHeightResult.h
"
5
#include "Kismet/BlueprintAsyncActionBase.h"
6
#include "CesiumSampleHeightMostDetailedAsyncAction.generated.h"
7
8
class
ACesium3DTileset
;
9
21
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(
22
FCesiumSampleHeightMostDetailedComplete
,
23
const
TArray<FCesiumSampleHeightResult>&,
24
Result,
25
const
TArray<FString>&,
26
Warnings);
27
28
UCLASS()
29
class CESIUMRUNTIME_API
UCesiumSampleHeightMostDetailedAsyncAction
30
: public UBlueprintAsyncActionBase {
31
GENERATED_BODY()
32
33
public
:
44
UFUNCTION(
45
BlueprintCallable,
46
Category =
"Cesium"
,
47
meta
= (BlueprintInternalUseOnly =
true
))
48
static
UCesiumSampleHeightMostDetailedAsyncAction
*
SampleHeightMostDetailed
(
49
ACesium3DTileset
* Tileset,
50
const TArray<FVector>& LongitudeLatitudeHeightArray);
51
58
UPROPERTY(BlueprintAssignable)
59
FCesiumSampleHeightMostDetailedComplete
OnHeightsSampled;
60
61
virtual
void
Activate() override;
62
63
private:
64
void
RaiseOnHeightsSampled(
65
ACesium3DTileset
* Tileset,
66
const TArray<
FCesiumSampleHeightResult
>& Result,
67
const TArray<FString>& Warnings);
68
69
ACesium3DTileset
* _pTileset;
70
TArray<FVector> _longitudeLatitudeHeightArray;
71
};
meta
meta
Definition
CesiumBingMapsRasterOverlay.h:25
CesiumSampleHeightResult.h
ACesium3DTileset
Definition
Cesium3DTileset.h:93
ACesium3DTileset::SampleHeightMostDetailed
void SampleHeightMostDetailed(const TArray< FVector > &LongitudeLatitudeHeightArray, FCesiumSampleHeightMostDetailedCallback OnHeightsSampled)
Initiates an asynchronous query for the height of this tileset at a list of cartographic positions,...
FCesiumSampleHeightMostDetailedComplete
The delegate used to asynchronously return sampled heights.
Definition
CesiumSampleHeightMostDetailedAsyncAction.h:26
UCesiumSampleHeightMostDetailedAsyncAction
Definition
CesiumSampleHeightMostDetailedAsyncAction.h:30
FCesiumSampleHeightResult
The result of sampling the height on a tileset at the given cartographic position.
Definition
CesiumSampleHeightResult.h:12
Source
CesiumRuntime
Public
CesiumSampleHeightMostDetailedAsyncAction.h
Generated by
1.12.0