Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
toggleAxis2D Method
An OVRInput.Axis2D enum value which represents a bitmask corresponding to one of the hard-coded 2-dimensional input axes supported by Oculus devices.

Toggles the Oculus Axis defined by the axisMask parameter so as to associate the Input Axis with an Oculus Touch Input Axis.

Be careful! Oculus devices do not use virtual inputs or virtual mappings managed through the Unity Input Manager. Instead, they are accessed directly through the %Oculus Utilities for Unity:https://developer.oculus.com/downloads/game-engines/1.5.0/Oculus_Utilities_for_Unity_5%.

Syntax
public void toggleAxis2D( 
   OVRInput.Axis2D axisMask
)

Parameters

axisMask
An OVRInput.Axis2D enum value which represents a bitmask corresponding to one of the hard-coded 2-dimensional input axes supported by Oculus devices.
See Also

Reference

OculusInputAxis Class
OculusInputAxis Members

 

 


Copyright (c) 2016-2017 Immerseum Inc. All rights reserved.

Send Feedback