SNodePanel::ZoomToFit

Zooms out to fit either all nodes or only the selected ones.

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 ZoomToFit
(
    bool bOnlySelection
)

Remarks

Zooms out to fit either all nodes or only the selected ones.

Parameters

Name Description
bOnlySelection Whether to zoom to fit around only the current selection (if false, will zoom to the extents of all nodes)

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library