7#include "CesiumPropertyArrayBlueprintLibrary.generated.h"
15 : public UBlueprintFunctionLibrary {
27 Category =
"Cesium|Metadata|PropertyArray")
41 Category =
"Cesium|Metadata|PropertyArray")
55 Category =
"Cesium|Metadata|PropertyArray")
72 Category =
"Cesium|Metadata|PropertyArray")
76 PRAGMA_DISABLE_DEPRECATION_WARNINGS
87 DeprecationMessage =
"Use GetElementBlueprintType instead."))
104 "CesiumMetadataTrueType is deprecated. Use GetElementValueType instead."))
120 DeprecationMessage =
"Use GetArraySize instead."))
151 "GetBoolean is deprecated for metadata arrays. Use GetValue instead."))
155 bool DefaultValue = false);
188 "GetByte is deprecated on arrays. Use GetValue instead."))
192 uint8 DefaultValue = 0);
226 "GetInteger is deprecated for metadata arrays. Use GetValue instead."))
230 int32 DefaultValue = 0);
267 "GetInteger64 is deprecated for metadata arrays. Use GetValue instead."))
271 int64 DefaultValue = 0);
304 "GetFloat is deprecated for metadata arrays. Use GetValue instead."))
308 float DefaultValue = 0.0f);
341 "GetFloat64 is deprecated for metadata arrays. Use GetValue instead."))
345 double DefaultValue);
370 "GetString is deprecated for metadata arrays. Use GetValue instead."))
374 const FString& DefaultValue =
"");
376 PRAGMA_ENABLE_DEPRECATION_WARNINGS
Blueprint library functions for acting on an array property in EXT_structural_metadata.
static ECesiumMetadataBlueprintType GetElementBlueprintType(UPARAM(ref) const FCesiumPropertyArray &array)
Gets the best-fitting Blueprints type for the elements of this array.
static FCesiumMetadataValue GetValue(UPARAM(ref) const FCesiumPropertyArray &Array, int64 Index)
Retrieves an element from the array as a FCesiumMetadataValue.
static int32 GetInteger(UPARAM(ref) const FCesiumPropertyArray &Array, int64 Index, int32 DefaultValue=0)
Retrieves an element from the array and attempts to convert it to a signed 32-bit integer value.
static int64 GetArraySize(UPARAM(ref) const FCesiumPropertyArray &Array)
Gets the number of elements in the array.
static double GetFloat64(UPARAM(ref) const FCesiumPropertyArray &array, int64 index, double DefaultValue)
Retrieves an element from the array and attempts to convert it to a 64-bit floating-point value.
static bool GetBoolean(UPARAM(ref) const FCesiumPropertyArray &Array, int64 Index, bool DefaultValue=false)
Retrieves an element from the array and attempts to convert it to a Boolean value.
static FCesiumMetadataValueType GetElementValueType(UPARAM(ref) const FCesiumPropertyArray &array)
Gets the true value type of the elements in the array.
static int64 GetInteger64(UPARAM(ref) const FCesiumPropertyArray &Array, int64 Index, int64 DefaultValue=0)
This function is deprecated.
static PRAGMA_DISABLE_DEPRECATION_WARNINGS ECesiumMetadataBlueprintType GetBlueprintComponentType(UPARAM(ref) const FCesiumPropertyArray &array)
Gets the best-fitting Blueprints type for the elements of this array.
static int64 GetSize(UPARAM(ref) const FCesiumPropertyArray &Array)
Gets the number of elements in the array.
static float GetFloat(UPARAM(ref) const FCesiumPropertyArray &array, int64 index, float DefaultValue=0.0f)
Retrieves an element from the array and attempts to convert it to a 32-bit floating-point value.
static FString GetString(UPARAM(ref) const FCesiumPropertyArray &Array, int64 Index, const FString &DefaultValue="")
Retrieves an element from the array and attempts to convert it to a string value.
static uint8 GetByte(UPARAM(ref) const FCesiumPropertyArray &Array, int64 Index, uint8 DefaultValue=0)
Retrieves an element from the array and attempts to convert it to an unsigned 8-bit integer value.
static ECesiumMetadataTrueType_DEPRECATED GetTrueComponentType(UPARAM(ref) const FCesiumPropertyArray &array)
Gets true type of the elements in the array.
A Blueprint-accessible wrapper for an array property in glTF metadata.