Hololight Stream for Unreal Engine component - Input

Input

The Motion Controller Component tracks controllers or hands in the level. Get Hand Tracking State Blueprint function can be used to get hand tracking data (including bone data). Get Motion Controller State Blueprint function can be used to get controller tracking data. For Unreal versions 5.4 and older, there is only Get Motion Controller Data function that combines these two functions.

Using hand tracking while running your Hololight Stream-supported project in the Unreal Editor will cause a large performance drop. However, packaging the project will resolve the performance drop.

Tracking

Hololight Stream provides tracked controller and hand data to the Unreal Engine’s XR System. You receive the tracked poses of controllers or hands using Motion Controller Components or Blueprint functions Get Motion Controller State and Get Hand Tracking State. As motion sources, Hololight Stream supports Left, Right, LeftPalm, RightPalm, LeftAim and RightAim.

Controller State

By implementing and registering the Hololight Stream controller interfaces, users can get the controller state whenever there is a new state for any controller.

Hololight Stream controller Blueprint functions
Blueprint Description
void RegisterControllerStateHandler (TScriptInterface<IStreamControllerStateHandler> ControllerStateHandler)

Registers the object or actor that implements the IStreamControllerStateHandler interface to the XR Input System’s OnControllerStateChanged event. This event returns the new state, which consists of the controller name, tracking status, controller type, and handedness.

void UnregisterControllerStateHandler (TScriptInterface<IStreamControllerStateHandler> ControllerStateHandler)

Unregisters the object or actor that implements the IStreamControllerStateHandler interface from the XR System. Causes the object to stop receiving the events.