VR Interaction Framework
1.0
A vr framework for the Oculus Quest
|
Helper for joystick type physical inputs More...
Public Member Functions | |
virtual void | OnJoystickChange (float leverX, float leverY) |
Public Attributes | |
float | MinDegrees = -45f |
Minimum angle the Level can be rotated More... | |
float | MaxDegrees = 45f |
Maximum angle the Level can be rotated More... | |
float | LeverPercentageX = 0 |
Current Percentage of joystick on X axis (left / right) More... | |
float | LeverPercentageZ = 0 |
Current Percentage of joystick on Z axis (forward / back) More... | |
FloatFloatEvent | onJoystickChange |
Event called when Joystick value is changed More... | |
Helper for joystick type physical inputs
|
virtual |
float BNG.JoystickControl.LeverPercentageX = 0 |
Current Percentage of joystick on X axis (left / right)
float BNG.JoystickControl.LeverPercentageZ = 0 |
Current Percentage of joystick on Z axis (forward / back)
float BNG.JoystickControl.MaxDegrees = 45f |
Maximum angle the Level can be rotated
float BNG.JoystickControl.MinDegrees = -45f |
Minimum angle the Level can be rotated
FloatFloatEvent BNG.JoystickControl.onJoystickChange |
Event called when Joystick value is changed