Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
deviceRelation Field (SteamVRAxis)

Indicates which SteamVR input device the Input Axis is associated with.

Best Practice
Because of the interchangability / swappability of position-tracked SteamVR input devices like the HTC Wands/Vive Controllers, this field is used to identify a specific device based on its position relative to the HMD.
Syntax
public SteamVR_Controller.DeviceRelation deviceRelation

Field Value

A value from the SteamVR_Controller.DeviceRelation enum indicating which SteamVR input device to use for this Input Axis. Accepts the following values:

Be careful! Because of a combination of legacy and ambiguous coding in the SteamVR plugin, it is recommended to use FarthestLeft and FarthestRight in place of Leftmost and Rightmost.

Unexpected behaviors will likely result if you use Leftmost or Rightmost.

See Also

Reference

SteamVRAxis Class
SteamVRAxis Members

 

 


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

Send Feedback