Returns all visible prompt parts with the requested metadata tag.
Use this read path to get prompt parts by metadata from UInteractionUIPromptBlueprintLibrary. Check the return value before using OutParts.
UFUNCTION(BlueprintPure, Category = "InteractionUI|Prompt")
static void GetPromptPartsByMetadata( const FInteractionUIPromptPresentation& Presentation, FName MetadataTag, TArray<FInteractionUIPromptPartPresentation>& OutParts);
Parameters
Inputs
Presentation
Prompt presentation to read or format.
MetadataTag
Optional metadata tag used by prompt presentation.
Outputs
OutParts
Receives matching prompt parts.
Use Cases
- Read prompt parts by metadata and handle the missing-data case explicitly.