// 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 SStateMachineInputPin::GetDefaultValueWidget() { return SNullWidget::NullWidget; }