Files
UnrealEngine/Engine/Plugins/Animation/LiveLink/Source/LiveLinkEditor/Private/SLiveLinkSubjectRepresentationGraphPin.h
2025-05-18 13:04:45 +08:00

31 lines
795 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "SGraphPin.h"
#include "SLiveLinkSubjectRepresentationPicker.h"
struct FLiveLinkSubjectRepresentation;
class SComboButton;
class SLiveLinkSubjectRepresentationGraphPin : public SGraphPin
{
public:
SLATE_BEGIN_ARGS(SLiveLinkSubjectRepresentationGraphPin) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, UEdGraphPin* InGraphPinObj);
//~ Begin SGraphPin Interface
virtual TSharedRef<SWidget> GetDefaultValueWidget() override;
//~ End SGraphPin Interface
private:
SLiveLinkSubjectRepresentationPicker::FLiveLinkSourceSubjectRole GetValue() const;
void SetValue(SLiveLinkSubjectRepresentationPicker::FLiveLinkSourceSubjectRole NewValue);
FLiveLinkSubjectRepresentation SubjectRepresentation;
};