Finds a control entry by id.
Use this read path when get control entry presentation by id from UInteractionUIWidgetBase. Check the return value before using OutPresentation.
UFUNCTION(BlueprintPure, Category = "InteractionUI")
bool TryGetControlEntryPresentationById(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 control entry presentation by id and handle the missing-data case explicitly.