Files
UnrealEngine/Engine/Source/Runtime/UMG/Private/Binding/PropertyBinding.cpp
2025-05-18 13:04:45 +08:00

33 lines
645 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "Binding/PropertyBinding.h"
#include UE_INLINE_GENERATED_CPP_BY_NAME(PropertyBinding)
#define LOCTEXT_NAMESPACE "UMG"
DEFINE_STAT(STAT_UMGBinding);
UPropertyBinding::UPropertyBinding()
{
}
bool UPropertyBinding::IsSupportedSource(FProperty* Property) const
{
return false;
}
bool UPropertyBinding::IsSupportedDestination(FProperty* Property) const
{
return false;
}
void UPropertyBinding::Bind(FProperty* Property, FScriptDelegate* Delegate)
{
static const FName BinderFunction(TEXT("GetValue"));
Delegate->BindUFunction(this, BinderFunction);
}
#undef LOCTEXT_NAMESPACE