Click or drag to resize

UnityXRGenericInputModule Class

Input module for Generic Unity Native VR Integration (which uses openvr)
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.ControllersInputModule
              ImmerseSDK.Platforms.UnityXRUnityXRInputModule
                ImmerseSDK.Platforms.UnityXRUnityXRGenericInputModule
                  ImmerseSDK.Platforms.UnityXRUnityXROdysseyInputModule
                  ImmerseSDK.Platforms.UnityXRUnityXRQuestInputModule
                  ImmerseSDK.Platforms.UnityXRUnityXRRiftInputModule
                  ImmerseSDK.Platforms.UnityXRUnityXRRiftSInputModule
                  ImmerseSDK.Platforms.UnityXRUnityXRViveInputModule

Namespace:  ImmerseSDK.Platforms.UnityXR
Assembly:  ImmerseSDK.NoDll (in ImmerseSDK.NoDll.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public class UnityXRGenericInputModule : UnityXRInputModule

The UnityXRGenericInputModule type exposes the following members.

Constructors
  NameDescription
Public methodUnityXRGenericInputModule
Initializes a new instance of the UnityXRGenericInputModule class
Top
Methods
  NameDescription
Public methodCustomHandStateToggle
When true the following will happen: - If in the default (or other exitable) hand state, then the first available custom hand state will be shown. - If already in a custom hand state, then the next available custom hand state will be shown. - If no further custom hand states are available, then the previous built in state will be returned to.
(Overrides InputModuleCustomHandStateToggle.)
Public methodHandReleaseToolPickup
Indicates whether input on this controller has caused a grabbing state for ToolPickup classes to be exited on the associated hand
(Overrides InputModuleHandReleaseToolPickup.)
Protected methodIsAxisGreaterThan
Checks if the current value of the given axis is above the threshold.
Protected methodIsAxisLessThan
Checks if the current value of the given axis is below the threshold.
Protected methodIsButtonPressed
Check if the given axis is pressed.
Protected methodIsTouchpadPressed
Public methodTeleportCancel
Indicates whether controller input has caused the teleport seek state to be cancelled
(Overrides InputModuleTeleportCancel.)
Public methodTeleportChoose
Indicates whether controller input has caused a teleport target to be chosen
(Overrides InputModuleTeleportChoose.)
Public methodTeleportSeek
Indicates whether controller input has caused the teleport seek state to be entered
(Overrides InputModuleTeleportSeek.)
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