Navigation
API > API/Editor > API/Editor/AIGraph
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SNodePanel::SNode
- SGraphNode
- SGraphNodeAI
References
| Module | AIGraph |
| Header | /Engine/Source/Editor/AIGraph/Public/SGraphNodeAI.h |
| Include | #include "SGraphNodeAI.h" |
Syntax
class SGraphNodeAI : public SGraphNode
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bDragMarkerVisible | ||
| TArray< TSharedPtr< SGraphNode > > | SubNodes |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSubNode
(
TSharedPtr< SGraphNode > SubNodeWidget |
Adds subnode widget inside current node | |
| void | Construct
(
const FArguments& InArgs, |
||
| FText | |||
| EVisibility | |||
| EVisibility | Gets drag over marker visibility | ||
| const FSlateBrush * | GetNameIcon () |
||
| FText | |||
| TSharedPtr< SGraphNode > | GetSubNodeUnderCursor
(
const FGeometry& WidgetGeometry, |
Gets decorator or service node if one is found under mouse cursor | |
| FText | GetTitle () |
||
| FReply | OnMouseDown
(
const FGeometry& SenderGeometry, |
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 >& PinToAdd |
Add a new pin to this graph node. The pin must be newly created. | |
| TSharedPtr< SToolTip > | Override this to provide support for an 'expensive' tooltip widget that is only built on demand | ||
| void | SetOwner
(
const TSharedRef< SGraphPanel >& OwnerPanel |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| void | OnDragEnter
(
const FGeometry& MyGeometry, |
DRAG AND DROP (DragDrop) Called during drag and drop when the drag enters a widget. | |
| void | OnDragLeave
(
const FDragDropEvent& DragDropEvent |
Called during drag and drop when the drag leaves a widget. | |
| FReply | OnDragOver
(
const FGeometry& MyGeometry, |
Called during drag and drop when the the mouse is being dragged over a widget. | |
| FReply | OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. | |
| FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse moved within it. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |