Class YVRInput
Implements all controllers input state related functions
Inherited Members
Namespace: YVR.Core
Assembly: YVR.Core.Runtime.dll
Syntax
public static class YVRInput
Methods
Name | Description |
---|---|
Clear |
Set the existing active controller flag to None and start recording it again. |
Clear |
Set the existing clicked controller flag to None and start recording it again. |
Clear |
Set the existing touched controller flag to None and start recording it again. |
Get(Raw |
Get the trigger position |
Get(Raw |
Get the thumbstick position |
Get(Raw |
Whether the button is holds down |
Get(Raw |
Whether the button is being touched |
Get(Virtual |
Get the trigger position |
Get(Virtual |
Get the thumbstick position |
Get(Virtual |
Whether the button is holds down |
Get(Virtual |
Whether the button is being touched |
Get |
Get the active controller in current frame. |
Get |
Get last clicked controller |
Get |
Get the remaining battery of the controller in percent |
Get |
Implements all controllers input state related functions |
Get |
Whether the button is pressed down in this frame |
Get |
Whether the button is touched down in this frame |
Get |
Whether the button is pressed down in this frame |
Get |
Whether the button is touched down in this frame |
Get |
Get the primary controller set in the global system |
Get |
Get last touched controller |
Get |
Whether the button is pressed up in this frame |
Get |
Whether the button is touched up in this frame |
Get |
Whether the button is pressed up in this frame |
Get |
Whether the button is touched up in this frame |
Is |
Is controller connected or not |
Set |
Make specific controller vibrate at the set frequency and amplitude |
Set |
Make specific controller vibrate at the set frequency and amplitude |
Set |
Set the primary controller in global system |
Update() | Implements all controllers input state related functions |