headgazedevice - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Rig.HeadGazeInputDevice
Inherits from UnityEngine.InputSystem.InputDevice
Defines a (virtual) InputDevice for triggering select InputActions used for the use HeadGaze. This is done so the device does not interfere with other devices and their specific logic as well as making the input easier to recognize.
public class HeadGazeDevice : InputDevice| Name | Description |
|---|---|
| MakeCurrent() | Sets the device as current device of that type. |
| SetHeadGazeSelectPressed() | Sets the state of the headGazeSelect to pressed/down (1.0f). |
| SetHeadGazeSelectReleased() | Sets the state of the headGazeSelect to released/up (0.0f). |
| Name | Description |
|---|---|
| All | Returns a readonly list of all head gaze devices (always empty). |
| Current | Current HeadGazeDevices and a list of HeadGazeDevices |
| HeadGazeSelect | The input action used for selecting via head gaze. |