UnityXRInputModule Class |
Namespace: ImmerseSDK.Platforms.UnityXR
public abstract class UnityXRInputModule : InputModule
The UnityXRInputModule type exposes the following members.
Name | Description | |
---|---|---|
UnityXRInputModule | Initializes a new instance of the UnityXRInputModule class |
Name | Description | |
---|---|---|
HandStrategy |
Name | Description | |
---|---|---|
DebugPrintButtonStates |
Logs the state of each button to the console.
| |
GesturePoint | (Overrides InputModuleGesturePoint(Boolean).) | |
GestureUnPoint |
Indicates whether a pointing gesture should be exited on the hand associated with this controller
(Overrides InputModuleGestureUnPoint(Boolean).) | |
GetHandStrategy |
Create an instance of the strategy we want to use for this controller
| |
HandGrab |
Indicates whether input on this controller has caused a grabbing state to be entered on the associated hand
(Overrides InputModuleHandGrab.) | |
HandGripAmount |
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.) | |
HandRelease |
Indicates whether input on this controller has caused a grabbing state to be exited on the associated hand
(Overrides InputModuleHandRelease.) | |
Initialize |
Called during Avatar setup, when this component is added to the avatars hand / controller gameObjects
(Overrides InputModuleInitialize(ControllerLocal).) | |
IsAxisPressed |
Test whether an axis has a "button press" using our own thresholds
| |
IsAxisReleased |
Test whether an axis has a "button release" using our own thresholds
| |
UIPress |
Indicates whether controller input should cause a Menu UI press event
(Overrides InputModuleUIPress.) | |
UIRelease |
Indicates whether controller input should cause a Menu UI release event
(Overrides InputModuleUIRelease.) | |
Update |
Unity component method
| |
Vibrate |
Causes haptic feedback vibration on the controller to start this frame and continue for a specified amount of time
(Overrides InputModuleVibrate(Single).) |
Name | Description | |
---|---|---|
GrabThresholdDown | ||
GrabThresholdUp | ||
UIPressThreshold |
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |