SNodePanel::SelectAndCenterObject

On the next tick, centers and selects the widget associated with the object if it exists

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
void SelectAndCenterObject
(
    const [UObject](API\Runtime\CoreUObject\UObject\UObject) * ObjectToSelect,
    bool bCenter
)

Remarks

On the next tick, centers and selects the widget associated with the object if it exists

Parameters

Name Description
ObjectToSelect The object to select, and potentially center on
bCenter Whether or not to center the graph node

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library