SGraphNodeAI

Unreal Engine C++ API Reference > Editor > AIGraph

Inheritance Hierarchy

References

   
Module AIGraph
Header /Engine/Source/Editor/AIGraph/Public/SGraphNodeAI.h
Include #include "SGraphNodeAI.h"

Syntax

class SGraphNodeAI : public [SGraphNode](API\Editor\GraphEditor\SGraphNode)  

Variables

Type Name Description
uint32: 1 bDragMarkerVisible  
TArray< TShared... SubNodes  

Functions

Type Name Description
void AddSubNode ( TSharedPtr< SGraphNode > SubNodeWid... ) Adds subnode widget inside current node
void Construct ( const FArguments& InArgs, UAIGraphNode* InNode )  
FText GetDescription ()  
EVisibility GetDescriptionVisibility ()  
EVisibility GetDragOverMarkerVisibility () Gets drag over marker visibility
const FSlate... GetNameIcon ()  
FText GetPreviewCornerText ()  
TSharedPtr< ... GetSubNodeUnderCursor ( const FGeometry& WidgetGeometry, const FPointerEvent& MouseEvent ) Gets decorator or service node if one is found under mouse cursor
FText GetTitle ()  
FReply OnMouseDown ( const FGeometry& SenderGeometry, const FPointerEvent& MouseEvent ) Handle mouse down on the node
void SetDragMarker ( bool bEnabled ) Sets drag marker visible or collapsed on this node

Overridden from SGraphNode

Type Name Description
void AddPin ( const TSharedRef< SGraphPin >& Pin... ) Add a new pin to this graph node. The pin must be newly created.
TSharedPtr< ... GetComplexTooltip () Override this to provide support for an 'expensive' tooltip widget that is only built on demand
void SetOwner ( const TSharedRef< SGraphPanel >& O... )  

Overridden from SWidget

Type Name Description
void OnDragEnter ( const FGeometry& MyGeometry, const FDragDropEvent& DragDropEven... ) DRAG AND DROP (DragDrop) Called during drag and drop when the drag enters a widget.
void OnDragLeave ( const FDragDropEvent& DragDropEven... ) Called during drag and drop when the drag leaves a widget.
FReply OnDragOver ( const FGeometry& MyGeometry, const FDragDropEvent& DragDropEven... ) Called during drag and drop when the the mouse is being dragged over a widget.
FReply OnDrop ( const FGeometry& MyGeometry, const FDragDropEvent& DragDropEven... ) Called when the user is dropping something onto a widget; terminates drag and drop.
FReply OnMouseMove ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) The system calls this method to notify the widget that a mouse moved within it.

Classes

Type Name Description
Public struct FArguments  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library