Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
CesiumMetadataUtilityBlueprintLibrary.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
9#include "Containers/UnrealString.h"
10#include "Kismet/BlueprintFunctionLibrary.h"
11#include "UObject/ObjectMacros.h"
12#include "CesiumMetadataUtilityBlueprintLibrary.generated.h"
13
14UCLASS()
16 : public UBlueprintFunctionLibrary {
17 GENERATED_BODY()
18
19public:
20 PRAGMA_DISABLE_DEPRECATION_WARNINGS
25 UFUNCTION(
26 BlueprintCallable,
27 BlueprintPure,
28 Meta =
29 (DeprecatedFunction,
30 DeprecationMessage =
31 "CesiumMetadataPrimitive is deprecated. Use CesiumPrimitiveFeatures and CesiumPrimitiveMetadata instead."))
32 static const FCesiumMetadataPrimitive&
33 GetPrimitiveMetadata(const UPrimitiveComponent* component);
34
41 UFUNCTION(
42 BlueprintCallable,
43 BlueprintPure,
44 Meta =
45 (DeprecatedFunction,
46 DeprecationMessage =
47 "The CesiumMetadataUtility blueprint library is deprecated. Use GetMetadataValuesForFace in the CesiumMetadataPicking blueprint library instead."))
48 static TMap<FString, FCesiumMetadataValue>
49 GetMetadataValuesForFace(const UPrimitiveComponent* component, int64 faceID);
50
57 UFUNCTION(
58 BlueprintCallable,
59 BlueprintPure,
60 Meta =
61 (DeprecatedFunction,
62 DeprecationMessage =
63 "The CesiumMetadataUtility blueprint library is deprecated. Use GetMetadataValuesForFaceAsStrings in the CesiumMetadataPicking blueprint library instead."))
64 static TMap<FString, FString> GetMetadataValuesAsStringForFace(
65 const UPrimitiveComponent* component,
66 int64 faceID);
67
72 UFUNCTION(
73 BlueprintCallable,
74 BlueprintPure,
75 Meta =
76 (DeprecatedFunction,
77 DeprecationMessage =
78 "Use GetFeatureIDFromFace with CesiumPrimitiveFeatures instead."))
79 static int64 GetFeatureIDFromFaceID(
80 UPARAM(ref) const FCesiumMetadataPrimitive& Primitive,
81 UPARAM(ref) const FCesiumFeatureIdAttribute& FeatureIDAttribute,
82 int64 FaceID);
83 PRAGMA_ENABLE_DEPRECATION_WARNINGS
84};
static PRAGMA_DISABLE_DEPRECATION_WARNINGS const FCesiumMetadataPrimitive & GetPrimitiveMetadata(const UPrimitiveComponent *component)
Gets the primitive metadata of a glTF primitive component.
A blueprint-accessible wrapper for a feature ID attribute from a glTF model.
A Blueprint-accessible wrapper for a glTF Primitive's EXT_feature_metadata extension.
A Blueprint-accessible wrapper for a glTF metadata value.