Navigation
API > API/Editor > API/Editor/GraphEditor
Inheritance Hierarchy
- SGraphNode
- SGraphNodeResizable
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 |
||
| FCursorReply | OnCursorQuery
(
const FGeometry& MyGeometry, |
||
| FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
||
| FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
||
| void | OnMouseEnter
(
const FGeometry& MyGeometry, |
||
| void | OnMouseLeave
(
const FPointerEvent& MouseEvent |
||
| FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EResizableWindowZone | The resizable window zone the user is interacting with |