8#include "Kismet/BlueprintFunctionLibrary.h"
9#include "UObject/ObjectMacros.h"
10#include "CesiumPropertyTable.generated.h"
40 GENERATED_USTRUCT_BODY()
73 const TSharedPtr<FCesiumMetadataEnumCollection>& pEnumCollection);
86 TMap<FString, FCesiumPropertyTableProperty> _properties;
93 : public UBlueprintFunctionLibrary {
106 Category =
"Cesium|Metadata|PropertyTable")
119 Category =
"Cesium|Metadata|PropertyTable")
120 static const FString&
132 Category =
"Cesium|Metadata|PropertyTable")
144 Category =
"Cesium|Metadata|PropertyTable")
156 Category =
"Cesium|Metadata|PropertyTable")
157 static const TArray<FString>
171 Category =
"Cesium|Metadata|PropertyTable")
174 const FString& PropertyName);
189 Category =
"Cesium|Metadata|PropertyTable")
194 PRAGMA_DISABLE_DEPRECATION_WARNINGS
212 Category =
"Cesium|Metadata|PropertyTable",
216 "Use GetValuesAsStrings to convert the output of GetMetadataValuesForFeature instead."))
220 PRAGMA_ENABLE_DEPRECATION_WARNINGS
ECesiumPropertyTableStatus
Reports the status of a FCesiumPropertyTable.
@ ErrorInvalidPropertyTable
@ ErrorInvalidPropertyTableClass
static ECesiumPropertyTableStatus GetPropertyTableStatus(UPARAM(ref) const FCesiumPropertyTable &PropertyTable)
Gets the status of the property table.
static PRAGMA_DISABLE_DEPRECATION_WARNINGS TMap< FString, FString > GetMetadataValuesForFeatureAsStrings(UPARAM(ref) const FCesiumPropertyTable &PropertyTable, int64 FeatureID)
Gets all of the property values for a given feature as strings, mapped by property name.
static TMap< FString, FCesiumMetadataValue > GetMetadataValuesForFeature(UPARAM(ref) const FCesiumPropertyTable &PropertyTable, int64 FeatureID)
Gets all of the property values for a given feature, mapped by property name.
static int64 GetPropertyTableCount(UPARAM(ref) const FCesiumPropertyTable &PropertyTable)
Gets the number of values each property in the table is expected to have.
static const FCesiumPropertyTableProperty & FindProperty(UPARAM(ref) const FCesiumPropertyTable &PropertyTable, const FString &PropertyName)
Retrieve a FCesiumPropertyTableProperty by name.
static const TArray< FString > GetPropertyNames(UPARAM(ref) const FCesiumPropertyTable &PropertyTable)
Gets the names of the properties in this property table.
static const TMap< FString, FCesiumPropertyTableProperty > & GetProperties(UPARAM(ref) const FCesiumPropertyTable &PropertyTable)
Gets all the properties of the property table, mapped by property name.
static const FString & GetPropertyTableName(UPARAM(ref) const FCesiumPropertyTable &PropertyTable)
Gets the name of the property table.
A Blueprint-accessible wrapper for a glTF property table property in EXT_structural_metadata.
A Blueprint-accessible wrapper for a glTF property table.
FString getClassName() const
Gets the name of the metadata class that this property table conforms to.
FCesiumPropertyTable(const CesiumGltf::Model &Model, const CesiumGltf::PropertyTable &PropertyTable)
Constructs a property table from a glTF Property Table.
friend class UCesiumPropertyTableBlueprintLibrary
FCesiumPropertyTable(const CesiumGltf::Model &Model, const CesiumGltf::PropertyTable &PropertyTable, const TSharedPtr< FCesiumMetadataEnumCollection > &pEnumCollection)
Constructs a property table from a glTF Property Table.
FCesiumPropertyTable()
Construct an empty property table instance.