By::Delegate

Creates a new element locator that exposes the collection of FWidgetPaths returned from the FLocateSlateWidgetElementDelegate as discovered elements

Unreal Engine C++ API Reference > Developer > AutomationDriver > By > Delegate

References

   
Module AutomationDriver
Header /Engine/Source/Developer/AutomationDriver/Public/LocateBy.h
Include #include "LocateBy.h"
Source /Engine/Source/Developer/AutomationDriver/Private/LocateBy.cpp
static [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IElementLocator](API\Developer\AutomationDriver\IElementLocator), ESPMode::ThreadSafe > Delegate
(
    const [FLocateSlateWidgetPathElementDelegate](API\Developer\AutomationDriver\FLocateSlateWidgetPathElementDel-) & Value
)

Remarks

Creates a new element locator that exposes the collection of FWidgetPaths returned from the FLocateSlateWidgetElementDelegate as discovered elements a locator which uses the specified delegate to discover appropriate elements

Parameters

Name Description
Value The delegate to use

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library