Tala Esenlikler
Widget Payload

ResolveWidgetClass

Resolves which widget class should be used for the supplied interaction context.

Interaction Framework 1.0.0 UE5.7 Function UInteractionRuntimeWidgetPayload

Resolves which widget class should be used for the supplied interaction context.

Override this on a widget payload when a target, point, command, or context should choose a prompt widget class dynamically.

Owner UInteractionRuntimeWidgetPayload
Module InteractionFrameworkRuntime
Category InteractionRuntime|WidgetPayload
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "InteractionRuntime|WidgetPayload")
TSubclassOf<UUserWidget> ResolveWidgetClass(const FInteractionRuntimeRequirementContext& Context) const;

Parameters

Inputs

Return Value

TSubclassOf<UUserWidget>

Widget class resolved for the payload.

Use Cases

  • Use during core concepts workflows when resolves which widget class should be used for the supplied interaction context..

Related Docs