6#include "Components/ActorComponent.h"
9#include "Materials/MaterialFunctionMaterialLayer.h"
12#include "CesiumFeaturesMetadataComponent.generated.h"
22UCLASS(ClassGroup = Cesium, Meta = (BlueprintSpawnableComponent))
24 : public UActorComponent {
36 Meta = (DisplayName =
"Add Properties"))
49 Meta = (DisplayName =
"Generate Material"))
50 void GenerateMaterial();
53#if WITH_EDITORONLY_DATA
61 UPROPERTY(EditAnywhere, Category =
"Cesium")
62 UMaterialFunctionMaterialLayer* TargetMaterialLayer =
nullptr;
75 (TitleProperty =
"Name",
76 DisplayAfter =
"TargetMaterialLayer",
77 ShowOnlyInnerProperties))
80 PRAGMA_DISABLE_DEPRECATION_WARNINGS
94 "Use FeatureIdSets on the CesiumFeaturesMetadataDescription's Features instead."))
110 "Use PropertyTextureNames on the CesiumFeaturesMetadataDescription's PrimitiveMetadata instead."))
121 "Use PropertyTables on the CesiumFeaturesMetadataDescription's ModelMetadata instead."))
132 "Use PropertyTextures on the CesiumFeaturesMetadataDescription's ModelMetadata instead."))
134 PRAGMA_ENABLE_DEPRECATION_WARNINGS
160 PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
override;
161 virtual void PostEditChangeChainProperty(
162 FPropertyChangedChainEvent& PropertyChangedChainEvent)
override;
171 void clearStatistics();
173 bool _syncInProgress;
Description of a feature ID set from either EXT_mesh_features or EXT_instance_features.
Description of a property table containing properties to be encoded for access in Unreal materials.
Description of a property texture with properties that should be made accessible to Unreal materials.