-
-
Notifications
You must be signed in to change notification settings - Fork 2
HeadGazeDevice
eisclimber edited this page Apr 20, 2024
·
1 revision
class in ExPresSXR.Rig.HeadGazeInputDevice / Extends InputDevice
Internal Str added via Component Menu
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.
-
HeadGazeDevice current
: Reference to the current HeadGazeDevice.
-
ButtonControl headGazeSelect
: Reference to the Button Control of the HeadGazeSelect-Action.
-
void SetHeadGazeSelectPressed()
: Sets the state of the headGazeSelect to pressed/down (1.0f). -
void SetHeadGazeSelectReleased()
: Sets the state of the headGazeSelect to released/up (0.0f). -
void SetHeadGazeSelectPressState(bool _pressed)
: Sets the state of the headGazeSelect to the value of pressed. -
void MakeCurrent()
: Sets the device as current device of that type.
-
void FinishSetup()
: The Input System calls this method after it constructs the Device, but before it adds the device to the system. -
void OnAdded()
: Executed when the device is added. -
void OnRemoved()
: Executed when the device is removed.
Autor: Luca 'eisclimber' Dreiling; License: MIT
- Getting Started
- Development and Contribution
- Misc
- Experimentation
- Data Gatherering
- Eye Tracking
- ExPresS XR Rig
- Interaction
- Base Button
- Button Quiz
- Collision Hand Rumbler
- Collision Sound Emitter
- Exit Game Interactable (Script Deprecated)
- Interactables
- Haptic Impulse Trigger
- Socket Interactors
- Inverse Kinematics
- Localization
- Minigames
- Coin Scale
- Coin Throw
- Sword Cleaning
- Misc
- Movement
- Presentation
- UI