Navigation
API > API/Editor > API/Editor/GraphEditor
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SNodePanel::SNode
- SGraphNode
- SGraphNodeResizable
- SGraphNodeComment
- SDataflowEdNodeComment
- SRigVMGraphNodeComment
- SGraphNodeDocumentation
References
| Module | GraphEditor |
| Header | /Engine/Source/Editor/GraphEditor/Public/SGraphNodeResizable.h |
| Include | #include "SGraphNodeResizable.h" |
Syntax
class SGraphNodeResizable : public 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 | |
| EResizableWindowZone | MouseZone | The current window zone the mouse is in | |
| FVector2D | NodeAnchorPoint | Anchor point used to correct node position on resizing the node | |
| TSharedPtr< FScopedTransaction > | 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 | |
|---|---|---|---|
| SGraphNodeResizable::EResizableWindowZone | FindMouseZone
(
const FVector2D& LocalMouseCoordinates |
Find the current window zone the mouse is in | |
| FVector2D | Function to fetch the corrected node position based on anchor point | ||
| FSlateRect | |||
| FVector2D | Return largest desired node size | ||
| FVector2D | Return smallest desired node size | ||
| float | Get the current titlebar size | ||
| void | Function to store anchor point before resizing the node. | ||
| bool | |||
| bool | InSelectionArea
(
EResizableWindowZone InZone |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FCursorReply | OnCursorQuery
(
const FGeometry& MyGeometry, |
The system asks each widget under the mouse to provide a cursor. This event is bubbled. | |
| FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse button was pressed within it. | |
| FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse button was release within it. | |
| void | OnMouseEnter
(
const FGeometry& MyGeometry, |
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, |
The system calls this method to notify the widget that a mouse moved within it. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EResizableWindowZone | The resizable window zone the user is interacting with |