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

Unreal Engine C++ API Reference > Editor > GraphEditor > SGraphNode

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/SGraphNode.h
Include #include "SGraphNode.h"
Source /Engine/Source/Editor/GraphEditor/Private/SGraphNode.cpp
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


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library