Tala Esenlikler
Prompt Blueprint Library

TryGetSurfaceEntryPresentationById

Finds a surface command entry by id.

Interaction Framework 1.0.0 UE5.8 Function UInteractionUIPromptBlueprintLibrary

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.

Owner UInteractionUIPromptBlueprintLibrary
Module InteractionFrameworkUI
Category InteractionUI|Prompt
UFUNCTION(BlueprintPure, Category = "InteractionUI|Prompt")
static bool TryGetSurfaceEntryPresentationById( const FInteractionUISurfaceProjection& SurfaceProjection, FName EntryId, FInteractionUIEntryPresentation& OutEntry);

Parameters

Inputs
EntryId
FName

Entry id to find in the projection data.

Outputs

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.

Related Docs