SNodePanel::GraphCoordToPanelCoord

Given a coordinate in graph space (e.g. a node's position), return the same coordinate in widget space while taking zoom and panning into account

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

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/SNodePanel.h
Include #include "SNodePanel.h"
Source /Engine/Source/Editor/GraphEditor/Private/SNodePanel.cpp
FVector2D GraphCoordToPanelCoord
(
    const FVector2D & GraphSpaceCoordinate
) const

Remarks

Given a coordinate in graph space (e.g. a node's position), return the same coordinate in widget 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