8#include "Kismet/BlueprintFunctionLibrary.h"
9#include "UObject/ObjectMacros.h"
10#include "CesiumPropertyAttribute.generated.h"
40 GENERATED_USTRUCT_BODY()
79 const TSharedPtr<FCesiumMetadataEnumCollection>& pEnumCollection);
93 TMap<FString, FCesiumPropertyAttributeProperty> _properties;
100 : public UBlueprintFunctionLibrary {
114 Category =
"Cesium|Metadata|PropertyAttribute")
127 Category =
"Cesium|Metadata|PropertyAttribute")
139 Category =
"Cesium|Metadata|PropertyAttribute")
151 Category =
"Cesium|Metadata|PropertyAttribute")
152 static const TArray<FString>
167 Category =
"Cesium|Metadata|PropertyAttribute")
170 const FString& PropertyName);
186 Category =
"Cesium|Metadata|PropertyAttribute")
ECesiumPropertyAttributeStatus
Reports the status of a FCesiumPropertyAttribute.
@ ErrorInvalidPropertyAttributeClass
@ ErrorInvalidPropertyAttribute
static const TArray< FString > GetPropertyNames(UPARAM(ref) const FCesiumPropertyAttribute &PropertyAttribute)
Gets the names of the properties in this property attribute.
static TMap< FString, FCesiumMetadataValue > GetMetadataValuesAtIndex(UPARAM(ref) const FCesiumPropertyAttribute &PropertyAttribute, int64 Index)
Gets all of the property values for the given vertex index, mapped by property name.
static const FCesiumPropertyAttributeProperty & FindProperty(UPARAM(ref) const FCesiumPropertyAttribute &PropertyAttribute, const FString &PropertyName)
Retrieve a FCesiumPropertyAttributeProperty by name.
static const TMap< FString, FCesiumPropertyAttributeProperty > & GetProperties(UPARAM(ref) const FCesiumPropertyAttribute &PropertyAttribute)
Gets all the properties of the property attribute, mapped by property name.
static const FString & GetPropertyAttributeName(UPARAM(ref) const FCesiumPropertyAttribute &PropertyAttribute)
Gets the name of the property attribute.
static ECesiumPropertyAttributeStatus GetPropertyAttributeStatus(UPARAM(ref) const FCesiumPropertyAttribute &PropertyAttribute)
Gets the status of the property attribute.
A Blueprint-accessible wrapper for a glTF property attribute property in EXT_structural_metadata.
A Blueprint-accessible wrapper for a glTF property attribute.
FString getClassName() const
Gets the name of the metadata class that this property attribute conforms to.
friend class UCesiumPropertyAttributeBlueprintLibrary
FCesiumPropertyAttribute()
Construct an empty property attribute instance.
FCesiumPropertyAttribute(const CesiumGltf::Model &model, const CesiumGltf::MeshPrimitive &primitive, const CesiumGltf::PropertyAttribute &propertyAttribute)
Constructs a property attribute from the given glTF.
FCesiumPropertyAttribute(const CesiumGltf::Model &model, const CesiumGltf::MeshPrimitive &primitive, const CesiumGltf::PropertyAttribute &propertyAttribute, const TSharedPtr< FCesiumMetadataEnumCollection > &pEnumCollection)
Constructs a property attribute from the given glTF.