Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend
Description
Return a pointer to the most preferred element for a given page order.
PageIDs with lower indices in InPageOrder are preferred over those with higher indices. If none of the elements have a PageID which exists in the InPageOrder, then a pointer to the first element is returned. If the InElements array is empty, then nullptr is returned.
| Name | Metasound::Frontend::FindPreferredPage |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundFrontendPages.h |
| Include Path | #include "MetasoundFrontendPages.h" |
namespace Metasound
{
namespace Frontend
{
template<typename ElementType>
const ElementType * Metasound::Frontend::FindPreferredPage
(
const TArray < ElementType > & InElements,
TArrayView < const FGuid > InPageOrder
)
}
}