Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.32 KB

WidgetComponent.md

File metadata and controls

25 lines (14 loc) · 1.32 KB

WidgetComponent

The UXT widget component is used to make UXT interaction work with Unreal Engine's own widget component.

Usage

Create your widget as normal:

After doing this, you should be able to see your widget when you play in editor. However, you will not be able to interact with the widget using the simulated hands. Stop play in editor and add a UXT widget component to your actor:

WidgetComponent

This should be all the set up required. When you play in editor now, you should be able to use far interaction and poke to interact with the ui elements in your widget actor.

FarGrab

NearPoke

Behavior Details

The UXT widget component only supports far interaction and near poke, and not near grab. For this reason, some UI elements may not behave like their UXT counterparts. For example, the slider widget follows the poking finger, whereas the UXT pinch slider requires a grab for near interaction.