Tala Esenlikler
Widget Base

TryGetSurfaceEntryPresentationById

Finds a surface command entry by id.

Interaction Framework 1.0.0 UE5.8 Function UInteractionUIWidgetBase

Finds a surface command entry by id.

Use this read path when get surface entry presentation by id from UInteractionUIWidgetBase. Check the return value before using OutPresentation.

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

Parameters

Inputs
EntryId
FName

Entry id to find in the projection data.

Outputs

Return Value

bool

True when OutPresentation was found and written to the output parameter.

Use Cases

  • Read surface entry presentation by id and handle the missing-data case explicitly.

Related Docs