FSlateWindowHelper::FindPathToWidget is very slow. I write plugin, and one future - find widget coordinates in runtime. Now i build nested tree with UMG widgets.
Than for each widget
FWidgetPath InWidgetsToVisualize;
…
FSlateWindowHelper::FindPathToWidget(windows, UserWidget->TakeWidget(), InWidgetsToVisualize, EVisibility::All);
and arrange this InWidgetsToVisualize Path, and find geometry for each Swidget. But when I have a lot of widgets on game scene… is very slooow.
Is the alternative of FindPathToWidget?