Navigation
API > API/Editor > API/Editor/GraphEditor > API/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
&40;
bool bOnlySelection
&41;
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) |