Finds a surface or control entry by id in the current projection.
Use this read path when get entry presentation by id from UInteractionUIWidgetBase. Check the return value before using OutPresentation.
UFUNCTION(BlueprintPure, Category = "InteractionUI")
bool TryGetEntryPresentationById(FName EntryId, FInteractionUIEntryPresentation& OutPresentation) const;
Parameters
Inputs
EntryId
Entry id to find in the projection data.
Outputs
OutPresentation
Receives the prompt presentation data.
Return Value
bool
True when OutPresentation was found and written to the output parameter.
Use Cases
- Read entry presentation by id and handle the missing-data case explicitly.