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