Tala Esenlikler

UInteractionUIWidgetBase

Base widget class for interaction prompt UI. It receives projection bundles, surface entries, control entries, focus/proximity changes, progress, outcomes, route state, paging, input family, and widget payload updates.

Interaction Framework 1.0.0 UE5.8 Class

Base widget class for interaction prompt UI. It receives projection bundles, surface entries, control entries, focus/proximity changes, progress, outcomes, route state, paging, input family, and widget payload updates.

Module InteractionFrameworkUI
Category ui
UCLASS(Abstract, BlueprintType, Blueprintable)
class INTERACTIONFRAMEWORKUI_API UInteractionUIWidgetBase : public UUserWidget

Members

Widget Base

ClearViewModel

Clears the current projection/view model and notifies Blueprint via OnViewModelCleared.

Function
Widget Base

HasValidAnchor

Returns true when the widget has a valid world anchor.

bool
Widget Base

HasViewModel

Returns true when this widget currently has projection/view-model data.

bool
Widget Base

OnCaptureModeChanged

Blueprint event fired when interaction input capture mode changes.

Function
Widget Base

OnControlEntryAdded

Blueprint event fired when a control entry is added.

Function
Widget Base

OnFocusChanged

Blueprint event fired when focus availability changes.

Function
Widget Base

OnInputFamilyChanged

Blueprint event fired on a widget when that widget receives a different resolved input family.

Function
Widget Base

OnPagingStateChanged

Fires when paging availability changes so widgets can show page controls or indicators.

Function
Widget Base

OnProjectionsApplied

Blueprint event fired after focus, progress, surface, state, and outcome projections are applied.

Function
Widget Base

OnSurfaceEntryAdded

Blueprint event fired when a command surface entry is added.

Function
Widget Base

OnSurfaceEntryRemoved

Blueprint event fired when a command surface entry is removed.

Function
Widget Base

OnViewModelCleared

Blueprint event fired after the current view model is cleared.

Function
Widget Base

SetAnchorWorldLocation

Sets the world location used by projection when the widget has a valid anchor.

Function
Widget Base

SetClampMode

Sets the projection clamp mode used by this widget.

Function
Widget Base

SetProjectedScreenPosition

Sets the widget's projected screen position, optionally removing DPI scale first.

Function
Widget Base

SetWidgetPayload

Assigns the runtime widget payload that should configure this widget.

Function
Widget Base

UpdateProjectionNow

Recomputes projection immediately instead of waiting for the next tick.

Function

Use Cases

  • Create project prompt widgets that react to projection bundles, entries, payloads, progress, outcomes, and route state.
  • Request widget release back to the UI manager when the widget should be hidden or pooled.

Notes

  • Widgets display projected runtime state; they should not become the authority owner of shared interaction state.

Related Docs