SGraphNodeAI

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AIGraph

Header

/Engine/Source/Editor/AIGraph/Public/SGraphNodeAI.h

Include

#include "SGraphNodeAI.h"

Syntax

class SGraphNodeAI : public SGraphNode

Variables

Name Description

Protected variable

uint32: 1

 

bDragMarkerVisible

Protected variable

TArray< TShared...

 

SubNodes

Functions

Name Description

Public function Virtual

void

 

AddSubNode

(
    TSharedPtr< SGraphNode > SubNodeWid...
)

Adds subnode widget inside current node

Public function

void

 

Construct

(
    const FArguments& InArgs,
    UAIGraphNode* InNode
)

Protected function Virtual Const

FText

 

GetDescription()

Protected function Virtual Const

EVisibility

 

GetDescriptionVisibility()

Public function Const

EVisibility

 

GetDragOverMarkerVisibility()

Gets drag over marker visibility

Protected function Virtual Const

const FSlate...

 

GetNameIcon()

Protected function Virtual Const

FText

 

GetPreviewCornerText()

Public function

TSharedPtr< ...

 

GetSubNodeUnderCursor

(
    const FGeometry& WidgetGeometry,
    const FPointerEvent& MouseEvent
)

Gets decorator or service node if one is found under mouse cursor

Public function

FReply

 

OnMouseDown

(
    const FGeometry& SenderGeometry,
    const FPointerEvent& MouseEvent
)

Handle mouse down on the node

Public function

void

 

SetDragMarker

(
    bool bEnabled
)

Sets drag marker visible or collapsed on this node

Overridden from SGraphNode

Name Description

Public function Virtual

void

 

AddPin

(
    const TSharedRef< SGraphPin >& Pin...
)

Add a new pin to this graph node. The pin must be newly created.

Public function Virtual

TSharedPtr< ...

 

GetComplexTooltip()

Override this to provide support for an 'expensive' tooltip widget that is only built on demand

Public function Virtual

void

 

SetOwner

(
    const TSharedRef< SGraphPanel >& O...
)

Overridden from SWidget

Name Description

Public function Virtual

void

 

OnDragEnter

(
    const FGeometry& MyGeometry,
    const FDragDropEvent& DragDropEven...
)

DRAG AND DROP (DragDrop) Called during drag and drop when the drag enters a widget.

Public function Virtual

void

 

OnDragLeave

(
    const FDragDropEvent& DragDropEven...
)

Called during drag and drop when the drag leaves a widget.

Public function Virtual

FReply

 

OnDragOver

(
    const FGeometry& MyGeometry,
    const FDragDropEvent& DragDropEven...
)

Called during drag and drop when the the mouse is being dragged over a widget.

Public function Virtual

FReply

 

OnDrop

(
    const FGeometry& MyGeometry,
    const FDragDropEvent& DragDropEven...
)

Called when the user is dropping something onto a widget; terminates drag and drop.

Public function Virtual

FReply

 

OnMouseMove

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

The system calls this method to notify the widget that a mouse moved within it.

Classes

Name

Description

Public struct

FArguments

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss