Returns the prompt presentation for the first command entry in a projection bundle.
Use this read path when get primary command prompt presentation from projection bundle from UInteractionUIPromptBlueprintLibrary. Check the return value before using OutPresentation.
UFUNCTION(BlueprintPure, Category = "InteractionUI|Prompt")
static bool TryGetPrimaryCommandPromptPresentationFromProjectionBundle( const FInteractionUIProjectionBundle& Projection, FInteractionUIPromptPresentation& OutPresentation);
Parameters
Inputs
Projection
Projection data to inspect.
Outputs
OutPresentation
Receives the prompt presentation data.
Return Value
bool
Returns the prompt presentation for the first command entry in a projection bundle.
Use Cases
- Read primary command prompt presentation from projection bundle and handle the missing-data case explicitly.