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