Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

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;
}