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