Finds a control entry by id.
Use this read path when get control entry presentation by id from UInteractionUIPromptBlueprintLibrary. Check the return value before using OutEntry.
UFUNCTION(BlueprintPure, Category = "InteractionUI|Prompt")
static bool TryGetControlEntryPresentationById( const FInteractionUISurfaceProjection& SurfaceProjection, FName EntryId, FInteractionUIEntryPresentation& OutEntry);
Parameters
Inputs
SurfaceProjection
Surface projection data to inspect.
EntryId
Entry id to find in the projection data.
Outputs
OutEntry
Receives the matching entry.
Return Value
bool
True when OutEntry was found and written to the output parameter.
Use Cases
- Read control entry presentation by id and handle the missing-data case explicitly.