// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "IPropertyTypeCustomization.h" class IPropertyHandle; class FBlendProfileCustomization : public IPropertyTypeCustomization { public: static TSharedRef MakeInstance(); virtual void CustomizeHeader(TSharedRef StructPropertyHandle, class FDetailWidgetRow& HeaderRow, IPropertyTypeCustomizationUtils& StructCustomizationUtils) override; // Override to do nothing virtual void CustomizeChildren(TSharedRef InStructPropertyHandle, class IDetailChildrenBuilder& ChildBuilder, IPropertyTypeCustomizationUtils& StructCustomizationUtils) override {} private: void OnBlendProfileChanged(class UBlendProfile* NewProfile, TWeakPtr WeakPropertyHandle); class USkeleton* GetSkeletonFromOuter(const UObject* Outer); };