Instanced payload object that can choose a prompt widget class and apply target-, variant-, point-, or command-specific presentation data to that widget.
UCLASS(BlueprintType, Blueprintable, EditInlineNew, CollapseCategories)
class INTERACTIONFRAMEWORKRUNTIME_API UInteractionRuntimeWidgetPayload : public UObject
Members
Widget Payload
TSubclassOf<UUserWidget> ResolveWidgetClass
Resolves which widget class should be used for the supplied interaction context.
Widget Payload
TSoftClassPtr<UUserWidget> Widget Class Override
Optional widget class override returned by the default resolver.
Use Cases
- Pass project-specific payload objects from target definitions to prompt widgets.
- Apply payload data to a UUserWidget subclass without adding runtime component dependencies to the widget.
Notes
- Payload application receives the widget as an input object.