Files
UnrealEngine/Engine/Source/Runtime/UMG/Public/Binding/WidgetBinding.h
2025-05-18 13:04:45 +08:00

28 lines
586 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/ScriptMacros.h"
#include "Binding/PropertyBinding.h"
#include "WidgetBinding.generated.h"
class UWidget;
UCLASS(MinimalAPI)
class UWidgetBinding : public UPropertyBinding
{
GENERATED_BODY()
public:
UMG_API UWidgetBinding();
UMG_API virtual bool IsSupportedSource(FProperty* Property) const override;
UMG_API virtual bool IsSupportedDestination(FProperty* Property) const override;
UFUNCTION()
UMG_API UWidget* GetValue() const;
};