28 lines
613 B
C++
28 lines
613 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "SStateMachineInputPin.h"
|
|
|
|
#include "SGraphPanel.h"
|
|
|
|
void SStateMachineInputPin::Construct(const FArguments& InArgs, UEdGraphPin* InPin)
|
|
{
|
|
this->SetCursor(EMouseCursor::Default);
|
|
|
|
bShowLabel = false;
|
|
|
|
GraphPinObj = InPin;
|
|
check(GraphPinObj != nullptr);
|
|
|
|
SetVisibility(EVisibility::HitTestInvisible);
|
|
|
|
// Set up a brush-less border so this pin is effectively hidden
|
|
SBorder::Construct( SBorder::FArguments()
|
|
.BorderImage(nullptr)
|
|
);
|
|
}
|
|
|
|
TSharedRef<SWidget> SStateMachineInputPin::GetDefaultValueWidget()
|
|
{
|
|
return SNullWidget::NullWidget;
|
|
}
|