SGraphNode::NodeCoordToGraphCoord

Given a coordinate in [SGraphNode](API\Editor\GraphEditor\SGraphNode) space, return the same coordinate in graph space while taking zoom and panning of the parent graph into account

Windows
MacOS
Linux

References

Module

GraphEditor

Header

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

Include

#include "SGraphNode.h"

Source

/Engine/Source/Editor/GraphEditor/Private/SGraphNode.cpp

Syntax

FVector2D NodeCoordToGraphCoord
(
    const FVector2D & PanelSpaceCoordinate
) const

Remarks

Given a coordinate in SGraphNode space, return the same coordinate in graph space while taking zoom and panning of the parent graph into account

Given a coordinate in SGraphPanel space (i.e. panel widget space), return the same coordinate in graph space while taking zoom and panning into account

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