Files
UnrealEngineUWP/Engine/Source/Editor/AnimationBlueprintEditor/Private/AnimationNodes/SGraphNodeStateMachineInstance.h
lucas dower 591fc0ed86 Pose watch widget now shows on Blend Space and State Machine nodes
#jira UE-106437, UE-106437
#rb Thomas.Sarkanen
#preflight 61a0bf1ec3287aab27415d7e

#ROBOMERGE-AUTHOR: lucas.dower
#ROBOMERGE-SOURCE: CL 18299107 in //UE5/Release-5.0/... via CL 18299120
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18299122 by lucas dower in ue5-release-engine-test branch]
2021-11-26 06:39:57 -05:00

29 lines
784 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "KismetNodes/SGraphNodeK2Composite.h"
class UEdGraph;
class SPoseWatchOverlay;
class SGraphNodeStateMachineInstance : public SGraphNodeK2Composite
{
public:
SLATE_BEGIN_ARGS(SGraphNodeStateMachineInstance){}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, class UAnimGraphNode_StateMachineBase* InNode);
protected:
// SGraphNodeK2Composite interface
virtual UEdGraph* GetInnerGraph() const override;
virtual TArray<FOverlayWidgetInfo> GetOverlayWidgets(bool bSelected, const FVector2D& WidgetSize) const override;
// End of SGraphNodeK2Composite interface
private:
TSharedPtr<SPoseWatchOverlay> PoseWatchWidget;
};