Tala Esenlikler
Widget Base

TryGetPrimaryCommandEntryPresentation

Returns the first command entry in the current surface projection.

Interaction Framework 1.0.0 UE5.8 Function UInteractionUIWidgetBase

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.

Owner UInteractionUIWidgetBase
Module InteractionFrameworkUI
Category InteractionUI
UFUNCTION(BlueprintPure, Category = "InteractionUI")
bool TryGetPrimaryCommandEntryPresentation(FInteractionUIEntryPresentation& OutPresentation) const;

Parameters

Outputs

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.

Related Docs