Returns the prompt presentation for the first command entry.
Use this read path when get primary command prompt presentation from UInteractionUIWidgetBase. Check the return value before using OutPresentation.
UFUNCTION(BlueprintPure, Category = "InteractionUI")
bool TryGetPrimaryCommandPromptPresentation(FInteractionUIPromptPresentation& OutPresentation) const;
Parameters
Outputs
OutPresentation
Receives the prompt presentation data.
Return Value
bool
Returns the prompt presentation for the first command entry.
Use Cases
- Read primary command prompt presentation and handle the missing-data case explicitly.