Click or drag to resize

UnityXRInputModule Class

Input module for Unity Native VR Integration (which uses openvr) Reference: https://docs.unity3d.com/Manual/OpenVRControllers.html https://docs.unity3d.com/Manual/xr_input.html https://docs.unity3d.com/Manual/class-InputManager.html https://docs.unity3d.com/ScriptReference/Input.html
Inheritance Hierarchy

Namespace:  ImmerseSDK.Platforms.UnityXR
Assembly:  ImmerseSDK.NotInDll (in ImmerseSDK.NotInDll.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public abstract class UnityXRInputModule : InputModule

The UnityXRInputModule type exposes the following members.

Constructors
  NameDescription
Protected methodUnityXRInputModule
Initializes a new instance of the UnityXRInputModule class
Top
Properties
  NameDescription
Protected propertyHandStrategy
Top
Methods
  NameDescription
Protected methodDebugPrintButtonStates
Public methodGesturePoint (Overrides InputModuleGesturePoint(Boolean).)
Public methodGestureUnPoint (Overrides InputModuleGestureUnPoint(Boolean).)
Protected methodGetHandStrategy
Create an instance of the strategy we want to use for this controller
Public methodHandGrab (Overrides InputModuleHandGrab.)
Public methodHandGripAmount (Overrides InputModuleHandGripAmount.)
Public methodHandRelease (Overrides InputModuleHandRelease.)
Public methodInitialize
Called during Avatar setup, when this component is added to the avatars hand / controller gameObjects
(Overrides InputModuleInitialize(ControllerLocal).)
Protected methodIsAxisPressed
Test whether an axis has a "button press" using our own thresholds
Protected methodIsAxisReleased
Test whether an axis has a "button release" using our own thresholds
Public methodSelectionEnd (Overrides InputModule.SelectionEnd.)
Public methodSelectionStart (Overrides InputModule.SelectionStart.)
Public methodSelectionToolTriggerAmount (Overrides InputModule.SelectionToolTriggerAmount.)
Public methodSelectionUpdate (Overrides InputModule.SelectionUpdate.)
Public methodUIPress (Overrides InputModuleUIPress.)
Public methodUIRelease (Overrides InputModuleUIRelease.)
Protected methodUpdate
Unity component method
Public methodVibrate
Causes haptic feedback vibration on the controller to start this frame and continue for a specified amount of time
(Overrides InputModuleVibrate(Single).)
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also