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