| SNodePanel | ||
| FGCObject
|
Module |
|
Header |
/Engine/Source/Editor/GraphEditor/Public/SGraphPanel.h |
Include |
#include "SGraphPanel.h" |
class SGraphPanel :
public SNodePanel,
public FGCObject
Name | Description | ||
---|---|---|---|
|
BounceCurve |
Bouncing curve |
|
|
bPreservePinPreviewConnection |
Should we ignore the OnStopMakingConnection unless forced? |
|
|
bShowPIENotification |
Whether to draw the overlay indicating we're in PIE |
|
|
CachedAllottedGeometryScaledSize |
Geometry cache |
|
|
CurrentHoveredPins |
List of pins currently being hovered over |
|
|
UEdGraph * |
GraphObj |
|
|
UEdGraph * |
GraphObjToDiff |
|
|
LastPointerEvent |
||
|
LastPointerGeometry |
The mouse state from the last mouse move event, used to synthesize pin actions when hovering over a spline on the panel |
|
|
MarkedPin |
Pin marked via shift-clicking |
|
|
OnDisallowedPinConnection |
Called when the user generates a warning tooltip because a connection was invalid |
|
|
OnDropActor |
Invoked when an actor is dropped onto the panel |
|
|
OnDropStreamingLevel |
Invoked when a streaming level is dropped onto the panel |
|
|
OnGetContextMenuFor |
Invoked when we need to summon a context menu |
|
|
OnNodeDoubleClicked |
What to do when a node is double-clicked |
|
|
OnTextCommitted |
Invoked when text is committed on panel |
|
|
OnUpdateGraphPanel |
Invoked when the panel is updated |
|
|
OnVerifyTextCommit |
Invoked when text is being committed on panel to verify it |
|
|
PinVisibility |
Pin visibility mode |
|
|
PreviewConnectorEndpoint |
||
|
PreviewConnectorFromPins |
Sometimes the panel draws a preview connector; e.g. when the user is connecting pins |
|
|
PreviousFrameSavedMousePosForSplineOverlap |
The overlap results from the previous OnPaint call |
|
|
PreviousFrameSplineOverlap |
||
|
SavedMousePosForOnPaintEventLocalSpace |
Last mouse position seen, used for paint-centric highlighting |
|
|
TAttribute< boo... |
ShowGraphStateOverlay |
Whether to draw decorations for graph state (PIE / ReadOnly etc.) |
|
double |
TimeWhenMouseEnteredPin |
Time since the last mouse enter/exit on a pin |
|
double |
TimeWhenMouseLeftPin |
Name | Description | |
---|---|---|
|
~SGraphPanel() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
AddNode ( |
Helper method to add a new node to the panel |
|
|
AddPinToHoverSet ( |
||
|
ArrangeChildrenForContextMenuSummon ( |
||
|
AttachGraphEvents ( |
Helper to attach graph events to sub node, which won't be placed directly on the graph |
|
|
Construct ( |
Construct a widget |
|
|
GetAllPins ( |
||
|
GetBoundsForNode |
Attempt to retrieve the bounds for the specified node |
|
|
const TShare... |
GetChild ( |
|
|
UEdGraph ... |
GetGraphObj() |
|
|
TSharedPtr< ... |
GetNodeWidgetFromGuid ( |
Get a graph node widget from the specified GUID, if it applies to any nodes in this graph |
|
SGraphEditor... |
GetPinVisibility() |
|
|
EActiveTimer... |
InvalidatePerTick ( |
When the graph panel needs to be dynamically refreshing for animations, this function is registered to tick and invalidate the UI. |
|
IsGraphEditable() |
Returns if this graph is editable |
|
|
IsNodeTitleVisible ( |
Use to determine if a comment title is currently visible |
|
|
IsRectVisible |
Use to determine if a rectangle is currently visible |
|
|
JumpToNode ( |
||
|
JumpToPin ( |
||
|
JumpToRect |
Focuses the view on rectangle, zooming if neccesary |
|
|
NotifyGraphChanged ( |
||
|
OnBeginMakingConnection ( |
||
|
OnBeginMakingConnection ( |
||
|
OnStopMakingConnection ( |
||
|
PreservePinPreviewUntilForced() |
||
|
PurgeVisualRepresentation() |
Purges the existing visual representation (typically followed by an Update call in the next tick) |
|
|
RefreshNode ( |
Refresh the visual state of a single node |
|
|
RemoveNode ( |
Helper method to remove a node from the panel |
|
|
RemovePinFromHoverSet ( |
||
|
SetNodeFactory ( |
Sets the current widget factory. |
|
|
SetPinVisibility ( |
||
|
StraightenConnections() |
Straighten all connections between the selected nodes |
|
|
StraightenConnections ( |
Straighten any connections attached to the specified pin, optionally limiting to the specified pin to align |
|
|
TSharedPtr< ... |
SummonContextMenu ( |
|
|
SummonCreateNodeMenuFromUICommand ( |
||
|
Update() |
Update this GraphPanel to match the data that it is observing. |
Name | Description | ||
---|---|---|---|
|
AddGraphNode ( |
Add a slot to the CanvasPanel dynamically |
|
|
OnHandleLeftMouseRelease ( |
||
|
TSharedPtr< ... |
OnSummonContextMenu ( |
INTERFACE TO IMPLEMENT. |
|
RemoveAllNodes() |
Remove all nodes from the panel |
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
GetToolTip() |
|
|
OnArrangeChildren ( |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
|
|
OnDragEnter ( |
DRAG AND DROP (DragDrop) Called during drag and drop when the drag enters a widget. |
|
|
OnDragLeave ( |
Called during drag and drop when the drag leaves a widget. |
|
|
OnDragOver ( |
Called during drag and drop when the the mouse is being dragged over a widget. |
|
|
OnDrop ( |
Called when the user is dropping something onto a widget; terminates drag and drop. |
|
|
OnKeyDown |
Called after a key is pressed when this widget has focus (this event bubbles if not handled) |
|
|
OnMouseButtonDoubleClick ( |
Called when a mouse button is double clicked. Override this in derived classes. |
|
|
OnMouseButtonDown ( |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
|
|
OnMouseButtonUp ( |
The system calls this method to notify the widget that a mouse button was release within it. |
|
|
OnMouseMove ( |
The system calls this method to notify the widget that a mouse moved within it. |
|
|
OnPaint ( |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
|
|
SupportsKeyboardFocus() |
Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Pure virtual that must be overloaded by the inheriting class. |
|
|
GetReferencerName() |
Use this method to report a name for your referencer. |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
|
---|---|---|
|
AddNodeBehavior |
Flag to control AddNode, more readable than a bool: |
Name |
Description |
---|---|
FOnGetContextMenuFor |