SGraphNodeResizable

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GraphEditor

Header

/Engine/Source/Editor/GraphEditor/Public/SGraphNodeResizable.h

Include

#include "SGraphNodeResizable.h"

Syntax

class SGraphNodeResizable : public SGraphNode

Variables

Name Description

Protected variable

bool

 

bUserIsDragging

If true the user is actively dragging the node

Protected variable

FVector2D

 

DragSize

The non snapped size of the node for fluid resizing

Protected variable

EResizableWindo...

 

MouseZone

The current window zone the mouse is in

Protected variable

FVector2D

 

NodeAnchorPoint

Anchor point used to correct node position on resizing the node

Protected variable

TSharedPtr< FSc...

 

ResizeTransactionPtr

The resize transaction

Protected variable

FVector2D

 

StoredUserSize

The original size of the node while resizing

Protected variable

FVector2D

 

UserSize

The desired size of the node set during a drag

Functions

Name Description

Protected function Virtual Const

SGraphNodeRe...

 

FindMouseZone

(
    const FVector2D& LocalMouseCoordin...
)

Find the current window zone the mouse is in

Protected function Const

FVector2D

 

GetCorrectedNodePosition()

Function to fetch the corrected node position based on anchor point

Protected function Virtual Const

FSlateRect

 

GetHitTestingBorder()

Protected function Virtual Const

FVector2D

 

GetNodeMaximumSize()

Return largest desired node size

Protected function Virtual Const

FVector2D

 

GetNodeMinimumSize()

Return smallest desired node size

Protected function Virtual Const

float

 

GetTitleBarHeight()

Get the current titlebar size

Protected function

void

 

InitNodeAnchorPoint()

Function to store anchor point before resizing the node.

Protected function Const

bool

 

InSelectionArea()

Protected function Const

bool

 

InSelectionArea

(
    EResizableWindowZone InZone
)

Overridden from SWidget

Name Description

Public function Virtual Const

FCursorReply

 

OnCursorQuery

(
    const FGeometry& MyGeometry,
    const FPointerEvent& CursorEvent
)

The system asks each widget under the mouse to provide a cursor. This event is bubbled.

Public function Virtual

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.

Public function Virtual

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.

Public function Virtual

void

 

OnMouseEnter

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

The system will use this event to notify a widget that the cursor has entered it.

Public function Virtual

void

 

OnMouseLeave

(
    const FPointerEvent& MouseEvent
)

The system will use this event to notify a widget that the cursor has left it.

Public function Virtual

FReply

 

OnMouseMove

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

The system calls this method to notify the widget that a mouse moved within it.

Enums

Name

Description

Public enum

EResizableWindowZone

The resizable window zone the user is interacting with

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss