MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / SetOwner

Method SetOwner

Source/FlowEditor/Private/Graph/Widgets/SFlowGraphNode.cpp:1288–1300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1286}
1287
1288void SFlowGraphNode::SetOwner(const TSharedRef<SGraphPanel>& OwnerPanel)
1289{
1290 SGraphNode::SetOwner(OwnerPanel);
1291
1292 for (auto& ChildWidget : SubNodes)
1293 {
1294 if (ChildWidget.IsValid())
1295 {
1296 ChildWidget->SetOwner(OwnerPanel);
1297 OwnerPanel->AttachGraphEvents(ChildWidget);
1298 }
1299 }
1300}
1301
1302#undef LOCTEXT_NAMESPACE

Callers 2

AddSubNodeWidgetMethod · 0.80
AddPinMethod · 0.80

Calls 1

IsValidMethod · 0.80

Tested by

no test coverage detected