Navigation
API > API/Developer > API/Developer/AutomationDriver > API/Developer/AutomationDriver/By
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Delegate
(
const FLocateSlateWidgetElementDelegate& Value, |
Creates a new element locator that exposes the collection of SWidgets returned from the FLocateSlateWidgetElementDelegate as discovered elements | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Delegate
(
const FLocateSlateWidgetPathElementDelegate& Value, |
Creates a new element locator that exposes the collection of FWidgetPaths returned from the FLocateSlateWidgetElementDelegate as discovered elements | LocateBy.h |
Delegate(const FLocateSlateWidgetElementDelegate &, FStringView)
Description
Creates a new element locator that exposes the collection of SWidgets returned from the FLocateSlateWidgetElementDelegate as discovered elements
| Name | Delegate |
| Type | function |
| Header File | /Engine/Source/Developer/AutomationDriver/Public/LocateBy.h |
| Include Path | #include "LocateBy.h" |
| Source | /Engine/Source/Developer/AutomationDriver/Private/LocateBy.cpp |
static TSharedRef< IElementLocator , ESPMode::ThreadSafe > Delegate
(
const FLocateSlateWidgetElementDelegate & Value,
FStringView DebugName
)
a locator which uses the specified delegate to discover appropriate elements
Parameters
| Name | Remarks |
|---|---|
| Value | The delegate to use |
| DebugName | The string to display for errors when no elements can be located |
Delegate(const FLocateSlateWidgetPathElementDelegate &, FStringView)
Description
Creates a new element locator that exposes the collection of FWidgetPaths returned from the FLocateSlateWidgetElementDelegate as discovered elements
| Name | Delegate |
| Type | function |
| Header File | /Engine/Source/Developer/AutomationDriver/Public/LocateBy.h |
| Include Path | #include "LocateBy.h" |
| Source | /Engine/Source/Developer/AutomationDriver/Private/LocateBy.cpp |
static TSharedRef< IElementLocator , ESPMode::ThreadSafe > Delegate
(
const FLocateSlateWidgetPathElementDelegate & Value,
FStringView DebugName
)
a locator which uses the specified delegate to discover appropriate elements
Parameters
| Name | Remarks |
|---|---|
| Value | The delegate to use |
| DebugName | The string to display for errors when no elements can be located |