Finds a surface or control entry by id inside a projection bundle.
Use this read path when get entry presentation by id from projection bundle from UInteractionUIPromptBlueprintLibrary. Check the return value before using OutEntry.
UFUNCTION(BlueprintPure, Category = "InteractionUI|Prompt")
static bool TryGetEntryPresentationByIdFromProjectionBundle( const FInteractionUIProjectionBundle& Projection, FName EntryId, FInteractionUIEntryPresentation& OutEntry);
Parameters
Inputs
Projection
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 entry presentation by id from projection bundle and handle the missing-data case explicitly.