Navigation
Unreal Engine C++ API Reference > Editor > GraphEditor
Inheritance Hierarchy
References
Module | GraphEditor |
Header | /Engine/Source/Editor/GraphEditor/Public/SGraphNodeResizable.h |
Include | #include "SGraphNodeResizable.h" |
Syntax
class SGraphNodeResizable : public [SGraphNode](API\Editor\GraphEditor\SGraphNode)
Variables
Type | Name | Description |
---|---|---|
bool | bUserIsDragging | If true the user is actively dragging the node |
FVector2D | DragSize | The non snapped size of the node for fluid resizing |
EResizableWindo... | MouseZone | The current window zone the mouse is in |
FVector2D | NodeAnchorPoint | Anchor point used to correct node position on resizing the node |
TSharedPtr< FSc... | ResizeTransactionPtr | The resize transaction |
FVector2D | StoredUserSize | The original size of the node while resizing |
FVector2D | UserSize | The desired size of the node set during a drag |
Functions
Type | Name | Description |
---|---|---|
SGraphNodeRe... | FindMouseZone ( const FVector2D& LocalMouseCoordin... ) | Find the current window zone the mouse is in |
FVector2D | GetCorrectedNodePosition () | Function to fetch the corrected node position based on anchor point |
FSlateRect | GetHitTestingBorder () | |
FVector2D | GetNodeMaximumSize () | Return largest desired node size |
FVector2D | GetNodeMinimumSize () | Return smallest desired node size |
float | GetTitleBarHeight () | Get the current titlebar size |
void | InitNodeAnchorPoint () | Function to store anchor point before resizing the node. |
bool | InSelectionArea () | |
bool | InSelectionArea ( EResizableWindowZone InZone ) |
Overridden from SWidget
Type | Name | Description |
---|---|---|
FCursorReply | OnCursorQuery ( const FGeometry& MyGeometry, const FPointerEvent& CursorEvent ) | The system asks each widget under the mouse to provide a cursor. This event is bubbled. |
FReply | OnMouseButtonDown ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) | The system calls this method to notify the widget that a mouse button was pressed within it. |
FReply | OnMouseButtonUp ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) | The system calls this method to notify the widget that a mouse button was release within it. |
void | OnMouseEnter ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) | The system will use this event to notify a widget that the cursor has entered it. |
void | OnMouseLeave ( const FPointerEvent& MouseEvent ) | The system will use this event to notify a widget that the cursor has left it. |
FReply | OnMouseMove ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) | The system calls this method to notify the widget that a mouse moved within it. |
Enums
Type | Name | Description |
---|---|---|
Public enum | EResizableWindowZone | The resizable window zone the user is interacting with |