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