Finds the first control entry with the supplied control tag.
Use this read path when get control entry presentation by tag from UInteractionUIPromptBlueprintLibrary. Check the return value before using OutEntry.
UFUNCTION(BlueprintPure, Category = "InteractionUI|Prompt")
static bool TryGetControlEntryPresentationByTag( const FInteractionUISurfaceProjection& SurfaceProjection, FName ControlTag, FInteractionUIEntryPresentation& OutEntry);
Parameters
Inputs
SurfaceProjection
Surface projection data to inspect.
ControlTag
Control tag 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 tag and handle the missing-data case explicitly.