Navigation
API > API/Runtime > API/Runtime/TypedElementRuntime > API/Runtime/TypedElementRuntime/UTypedElementSelectionSet
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTypedElement< BaseInterfaceType > GetTopSelectedElement () |
Get the first selected element implementing the given interface. | Elements/Framework/TypedElementSelectionSet.h | |
TTypedElement< BaseInterfaceType > GetTopSelectedElement
(
TFunctionRef< bool(const TTypedElement< BaseInterfaceType >&)> Predicate |
Get the first element that implement the given interface and pass the predicate @Predicate A function that should return true when the element is desirable | Elements/Framework/TypedElementSelectionSet.h |
GetTopSelectedElement()
Description
Get the first selected element implementing the given interface.
| Name | GetTopSelectedElement |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementRuntime/Public/Elements/Framework/TypedElementSelectionSet.h |
| Include Path | #include "Elements/Framework/TypedElementSelectionSet.h" |
template<typename BaseInterfaceType>
TTypedElement < BaseInterfaceType > GetTopSelectedElement() const
GetTopSelectedElement(TFunctionRef< bool(const TTypedElement< BaseInterfaceType > &)>)
Description
Get the first element that implement the given interface and pass the predicate @Predicate A function that should return true when the element is desirable
| Name | GetTopSelectedElement |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementRuntime/Public/Elements/Framework/TypedElementSelectionSet.h |
| Include Path | #include "Elements/Framework/TypedElementSelectionSet.h" |
template<typename BaseInterfaceType>
TTypedElement < BaseInterfaceType > GetTopSelectedElement
(
TFunctionRef < bool< BaseInterfaceType > &)> Predicate
) const