Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Editor/GraphEditor/Public/SNodePanel.h |
Include |
#include "SNodePanel.h" |
class SNodePanel : public SPanel
Name | Description | ||
---|---|---|---|
|
bAllowContinousZoomInterpolation |
Allow continous zoom interpolation? |
|
|
bDeferredZoomToNodeExtents |
Deferred zoom to node extents |
|
|
bDeferredZoomToSelection |
Deferred zoom to selected node extents |
|
|
bIsPanning |
Are we panning the view at the moment? |
|
|
bIsZoomingWithTrackpad |
Are we zooming the view with trackpad at the moment? |
|
|
bRequestDeferredPan |
True if pending request for deferred panning |
|
|
bShowSoftwareCursor |
Whether the software cursor should be drawn |
|
|
bTeleportInsteadOfScrollingWhenZoomingToFit |
Teleport immediately, or smoothly scroll when doing a deferred zoom |
|
|
bVisualUpdatePending |
A flag to detect when a visual update is pending to prevent deferred commands like zoom to fit from running when there are no widgets |
|
|
CachedGeometry |
Cached geometry for use within the active timer |
|
|
Children |
The graph node widgets owned by this panel |
|
|
CurrentLOD |
Current LOD level for nodes/pins |
|
|
const UObject &... |
DeferredMovementTargetObject |
If non-null and a part of this panel, this node will be brought into view on the next Tick |
|
DeferredPanPosition |
Position to pan to |
|
|
DeferredSelectionTargetObjects |
If not empty and a part of this panel, this node will be selected and brought into view on the next Tick |
|
|
TAttribute< boo... |
IsEditable |
Is the graph editable (can nodes be moved, etc...)? |
|
LastKeyChordDetected |
The last key chord detected in this graph panel |
|
|
Marquee |
A pending marquee operation if it's active |
|
|
NodeGrabOffset |
Where in the title the user grabbed to initiate the drag |
|
|
NodeToWidgetLookup |
Given a node, find the corresponding widget |
|
|
NodeUnderMousePtr |
The node that the user is dragging. Null when they are not dragging a node. |
|
|
OldViewOffset |
The position within the graph at which the user was looking last tick |
|
|
float |
OldZoomAmount |
The actual scalar zoom amount last tick |
|
OnSpawnNodeByShortcut |
Invoked when the user may be attempting to spawn a node using a shortcut |
|
|
OriginalNodePositions |
Node positions pre-drag, used to limit transaction creation on drag |
|
|
PastePosition |
The position where we should paste when a user executes the paste command. |
|
|
PreviousZoomLevel |
Previous Zoom Level |
|
|
TSharedPtr< FSc... |
ScopedTransactionPtr |
The current transaction for undo/redo |
|
SelectionManager |
Nodes selected in this instance of the editor; the selection is per-instance of the GraphEditor |
|
|
SoftwareCursorPosition |
The current position of the software cursor |
|
|
float |
TotalGestureMagnify |
Cumulative magnify delta from trackpad gesture |
|
float |
TotalMouseDelta |
The total distance that the mouse has been dragged while down |
|
float |
TotalMouseDeltaXY |
The additive X and Y components of mouse drag (used when zooming) |
|
ViewOffset |
The position within the graph at which the user is looking |
|
|
VisibleChildren |
||
|
ZoomLevel |
How zoomed in/out we are. e.g. 0.25f results in quarter-sized nodes. |
|
|
ZoomLevelFade |
Curve that handles fading the 'Zoom +X' text |
|
|
ZoomLevelGraphFade |
Fade on zoom for graph |
|
|
TUniquePtr< FZo... |
ZoomLevels |
The interface for mapping ZoomLevel values to actual node scaling values. |
|
float |
ZoomPadding |
Zoom selection padding |
|
ZoomStartOffset |
Offset in the panel the user started the LMB+RMB zoom from |
Name | Description | |
---|---|---|
|
SNodePanel() |
Name | Description | ||
---|---|---|---|
|
AddGraphNode ( |
Add a slot to the CanvasPanel dynamically |
|
|
ApplyMarqueeSelection ( |
Apply the marquee operation to the current selection |
|
|
ArrangeChildNodes ( |
Arrange child nodes - allows derived classes to supply non-node children in OnArrangeChildren |
|
|
CancelZoomToFit() |
Cancels any active zoom-to-fit action. |
|
|
CenterObject ( |
On the next tick, centers the widget associated with the object if it exists |
|
|
ChangeZoomLevel |
Change zoom level by the specified zoom level delta, about the specified origin. |
|
|
ComputeEdgePanAmount |
Compute much panel needs to change to pan to location |
|
|
Construct() |
Initialize members |
|
|
Contains ( |
Is the given node being observed by a widget in this panel? |
|
|
FinalizeNodeMovements() |
Commit transactions for any node movements |
|
|
FindNodesAffectedByMarquee ( |
Figure out which nodes intersect the marquee rectangle |
|
|
GetBoundsForNode |
Get the bounds of the given node |
|
|
GetBoundsForNodes |
Get the bounds of the selected nodes |
|
|
GetBoundsForSelectedNodes ( |
Get the bounding area for the currently selected nodes |
|
|
EGraphRender... |
GetCurrentLOD() |
Returns the current LOD level of this panel, based on the zoom factor |
|
GetPastePosition() |
||
|
float |
GetSnapGridSize() |
Get the grid snap size |
|
const FGuid ... |
GetViewBookmarkId() |
|
|
GetViewOffset() |
||
|
float |
GetZoomAmount() |
The zoom amount; e.g. a value of 0.25f results in quarter-sized nodes |
|
GetZoomText() |
||
|
GetZoomTextColorAndOpacity() |
||
|
GraphCoordToPanelCoord ( |
Given a coordinate in graph space (e.g. a node's position), return the same coordinate in widget space while taking zoom and panning into account |
|
|
HasDeferredObjectFocus() |
If it is focusing on a particular object |
|
|
HasMoved() |
Returns if the panel has been panned or zoomed since the last update |
|
|
IsNodeCulled ( |
Determines if a specified node is not visually relevant. |
|
|
OnBeginNodeInteraction ( |
Lets the CanvasPanel know that the user is interacting with a node. |
|
|
OnEndNodeInteraction ( |
Lets the CanvasPanel know that the user has ended interacting with a node. |
|
|
OnHandleLeftMouseRelease ( |
||
|
TSharedPtr< ... |
OnSummonContextMenu ( |
INTERFACE TO IMPLEMENT. |
|
PaintBackgroundAsLines ( |
Paint the background as lines. |
|
|
PaintComment ( |
Paint a comment bubble. |
|
|
PaintMarquee ( |
Paint the marquee selection rectangle. |
|
|
PaintSoftwareCursor ( |
Paint the software mouse if necessary. |
|
|
PaintSurroundSunkenShadow ( |
Paint the well shadow (around the perimeter) |
|
|
PanelCoordToGraphCoord ( |
Given a coordinate in panel space (i.e. panel widget space), return the same coordinate in graph space while taking zoom and panning into account |
|
|
PanelRectToGraphRect ( |
Given a rectangle in panel space, return a rectangle in graph space. |
|
|
PopulateVisibleChildren ( |
Populate visibile children array |
|
|
PostChangedZoom() |
Should be called whenever the zoom level has changed. |
|
|
RemoveAllNodes() |
Remove all nodes from the panel |
|
|
RequestDeferredPan ( |
Ask panel to scroll to location |
|
|
RequestZoomToFit() |
Fires up a per-tick function to zoom the graph to fit. |
|
|
RestoreViewSettings |
Restore the graph panel to the supplied view offset/zoom. |
|
|
ScrollToLocation |
Scroll the view to the desired location |
|
|
SelectAndCenterObject |
On the next tick, centers and selects the widget associated with the object if it exists |
|
|
SetZoomLevelsContainer() |
Sets the zoom levels container. |
|
|
UpdateViewOffset |
Update the new view offset location |
|
|
ZoomToFit ( |
Zooms out to fit either all nodes or only the selected ones. |
|
|
ZoomToLocation |
Zoom to fit the desired size |
|
|
ZoomToTarget |
Zooms to the specified target rect |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. |
|
|
FChildren &#... |
GetAllChildren() |
Returns all the panel children rather than only visible |
|
FChildren &#... |
GetChildren() |
All widgets must provide a way to access their children in a layout-agnostic way. |
|
float |
GetRelativeLayoutScale ( |
What is the Child's scale relative to this widget. |
|
OnArrangeChildren ( |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
|
|
OnCursorQuery ( |
The system asks each widget under the mouse to provide a cursor. This event is bubbled. |
|
|
OnFocusLost ( |
Called when this widget loses focus. This event does not bubble. |
|
|
OnKeyDown |
Called after a key is pressed when this widget has focus (this event bubbles if not handled) |
|
|
OnKeyUp |
Called after a key is released when this widget has focus |
|
|
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. |
|
|
OnMouseCaptureLost ( |
Called when this widget had captured the mouse, but that capture has been revoked for some reason. |
|
|
OnMouseMove ( |
The system calls this method to notify the widget that a mouse moved within it. |
|
|
OnMouseWheel ( |
Called when the mouse wheel is spun. This event is bubbled. |
|
|
OnTouchEnded ( |
Called when a touchpad touch is ended (finger lifted) |
|
|
OnTouchGesture ( |
TOUCH and GESTURES Called when the user performs a gesture on trackpad. This event is bubbled. |
|
|
Tick ( |
Ticks this widget with Geometry. |
Name |
Description |
|
---|---|---|
|
SNode |