Files
UnrealEngine/Engine/Source/Editor/GraphEditor/Private/KismetPins/SGraphPinIndex.h
2025-05-18 13:04:45 +08:00

28 lines
630 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "EdGraph/EdGraphPin.h"
#include "SGraphPin.h"
#include "Templates/SharedPointer.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
class SWidget;
class SGraphPinIndex : public SGraphPin
{
public:
SLATE_BEGIN_ARGS(SGraphPinIndex) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, UEdGraphPin* InGraphPinObj);
FEdGraphPinType OnGetPinType() const;
void OnTypeChanged(const FEdGraphPinType& PinType);
protected:
//~ Begin SGraphPin Interface
virtual TSharedRef<SWidget> GetDefaultValueWidget() override;
//~ End SGraphPin Interface
};