Files
mikko mononen 40ff349f2c Smart Object: Added parameters for Smart Object Definition (take 2)
- Added ability to parameterize the SOD using parameters and property copy
- Each Asset stores and shares a variations based parameter hash

#rb Yoan.StAmant

[CL 30966021 by mikko mononen in 5.4 branch]
2024-01-29 07:16:16 -05:00

24 lines
766 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "IDetailPropertyExtensionHandler.h"
class IPropertyHandle;
class IDetailLayoutBuilder;
class IPropertyAccessEditor;
namespace UE::SmartObject::PropertyBinding
{
extern const FName DataIDName;
} // UE::SmartObject::PropertyBinding
class FSmartObjectDefinitionBindingExtension : public IDetailPropertyExtensionHandler
{
public:
// IDetailPropertyExtensionHandler interface
virtual bool IsPropertyExtendable(const UClass* InObjectClass, const IPropertyHandle& PropertyHandle) const override;
virtual void ExtendWidgetRow(FDetailWidgetRow& InWidgetRow, const IDetailLayoutBuilder& InDetailBuilder, const UClass* InObjectClass, TSharedPtr<IPropertyHandle> PropertyHandle) override;
};