Click or drag to resize

UnityXRInputModule Methods

The UnityXRInputModule type exposes the following members.

Methods
  NameDescription
Protected methodDebugPrintButtonStates
Logs the state of each button to the console.
Public methodGesturePoint (Overrides InputModuleGesturePoint(Boolean).)
Public methodGestureUnPoint
Indicates whether a pointing gesture should be exited on the hand associated with this controller
(Overrides InputModuleGestureUnPoint(Boolean).)
Protected methodGetHandStrategy
Create an instance of the strategy we want to use for this controller
Public methodHandGrab
Indicates whether input on this controller has caused a grabbing state to be entered on the associated hand
(Overrides InputModuleHandGrab.)
Public methodHandGripAmount
Indicates the amount of grip the hand associated with this controller has from inputs in the current frame. Returns a float value between 0 (no grip) and 1 (fully gripped)
(Overrides InputModuleHandGripAmount.)
Public methodHandRelease
Indicates whether input on this controller has caused a grabbing state to be exited on the associated hand
(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 methodUIPress
Indicates whether controller input should cause a Menu UI press event
(Overrides InputModuleUIPress.)
Public methodUIRelease
Indicates whether controller input should cause a Menu UI release event
(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