4#include "Layout/Visibility.h"
5#include "Widgets/DeclarativeSyntaxSupport.h"
6#include "Input/Reply.h"
8#include "SGraphPanel.h"
30 void OnDragEnter(const FGeometry& MyGeometry, const FDragDropEvent& DragDropEvent)
override
32 Super::OnDragEnter(MyGeometry, DragDropEvent);
34 void OnDragLeave(
const FDragDropEvent& DragDropEvent)
override
36 Super::OnDragLeave(DragDropEvent);
39 FReply
OnDragOver(
const FGeometry& MyGeometry,
const FDragDropEvent& DragDropEvent)
override
41 return Super::OnDragOver(MyGeometry, DragDropEvent);
43 FReply
OnDrop(
const FGeometry& MyGeometry,
const FDragDropEvent& DragDropEvent)
override;
47 return Super::OnMouseButtonDoubleClick(InMyGeometry, InMouseEvent);
49 FReply
OnMouseMove(
const FGeometry& SenderGeometry,
const FPointerEvent& MouseEvent)
override
51 return Super::OnMouseMove(SenderGeometry, MouseEvent);
58 TArray<FOverlayWidgetInfo>
GetOverlayWidgets(
bool bSelected,
const FVector2D& WidgetSize)
const override;
61 void GetOverlayBrushes(
bool bSelected,
const FVector2D WidgetSize, TArray<FOverlayBrushInfo>& Brushes)
const override;
88 if (
const SGraphPanel* MyOwnerPanel = GetOwnerPanel().Get())
90 return MyOwnerPanel->GetCurrentLOD() <= EGraphRenderingLOD::LowestDetail;
100 void PopulateMetaTag(
class FGraphNodeMetaData* TagMeta)
const override { Super::PopulateMetaTag(TagMeta); }
126 return FText::GetEmpty();
143 return FText::GetEmpty();
154 return FText::GetEmpty();
161 TSharedPtr<SGraphPanel> MyOwnerPanel = GetOwnerPanel();
162 return !MyOwnerPanel.IsValid() || MyOwnerPanel->GetCurrentLOD() > EGraphRenderingLOD::LowDetail ? EVisibility::Visible : EVisibility::Collapsed;
const UDlgSystemSettings * Settings
void OnDragLeave(const FDragDropEvent &DragDropEvent) override
TSharedRef< SWidget > GetNodeBodyWidget()
TSharedPtr< SToolTip > GetComplexTooltip() override
FText GetGenericOverlayTooltipText() const
UDialogueGraphNode * DialogueGraphNode
FText GetDescriptionForSpeechSequenceEntryAt(int32 SpeechEntryIndex) const
FSlateColor GetBackgroundColor() const
FSlateColor GetOverlayWidgetBackgroundColor(bool bHovered) const
FText GetIndexOverlayTooltipText() const
void UpdateGraphNode() override
TSharedPtr< SWidget > GenericOverlayWidget
FText GetVoiceOverlayTooltipText() const
FSlateColor GetCommentColor() const override
FReply OnDrop(const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) override
void GetOverlayBrushes(bool bSelected, const FVector2D WidgetSize, TArray< FOverlayBrushInfo > &Brushes) const override
TSharedPtr< SBorder > NodeBodyWidget
void Construct(const FArguments &InArgs, UDialogueGraphNode *InNode)
const TArray< FDlgSpeechSequenceEntry > & GetSpeechSequenceEntries() const
FReply OnDragOver(const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) override
FText GetEventOverlayTooltipText() const
TSharedRef< SWidget > GetTitleWidget()
TSharedPtr< SWidget > VoiceOverlayWidget
EVisibility GetNodeVisibility() const override
FReply OnMouseMove(const FGeometry &SenderGeometry, const FPointerEvent &MouseEvent) override
FText GetIndexText() const
void PopulateMetaTag(class FGraphNodeMetaData *TagMeta) const override
TSharedRef< SWidget > GetDescriptionWidget()
void OnIndexHoverStateChanged(bool bHovered)
TSharedPtr< SWidget > IndexOverlayWidget
TSharedPtr< SWidget > TitleWidget
FReply OnMouseButtonDoubleClick(const FGeometry &InMyGeometry, const FPointerEvent &InMouseEvent) override
TSharedPtr< SWidget > EventOverlayWidget
TSharedPtr< SWidget > ConditionOverlayWidget
TArray< FOverlayWidgetInfo > GetOverlayWidgets(bool bSelected, const FVector2D &WidgetSize) const override
FText GetConditionOverlayTooltipText() const
FText GetSpeakerForSpeechSequenceEntryAt(int32 SpeechEntryIndex) const
EVisibility GetOverlayWidgetVisibility() const
EVisibility GetDescriptionVisibility() const
bool UseLowDetailNodeTitles() const override
void OnDragEnter(const FGeometry &MyGeometry, const FDragDropEvent &DragDropEvent) override
FText GetDescription() const
SDialogueGraphNode_Base Super
TSharedPtr< SWidget > DescriptionWidget
virtual int32 GetDialogueNodeIndex() const
bool ShouldDrawNode() const
FLinearColor GetNodeBackgroundColor() const override
bool IsDialogueNodeSet() const
const DlgNodeType & GetDialogueNode() const
bool IsSpeechSequenceNode() const
UCLASS(BlueprintType, ClassGroup = "Dialogue")
FLinearColor BorderBackgroundColor
UPROPERTY(Category = "Graph Node Color", Config, EditAnywhere)
FLinearColor BorderHoveredBackgroundColor
UPROPERTY(Category = "Graph Node Color", Config, EditAnywhere)