To modify the values during runtime, get the Leap Motion Service Provider from the Leap Motion Device Manager: LeapMotionDeviceManager leapMotionDeviceManager = CoreServices.GetInputSystemDataProvider() The offset properties in the profile are applied once when the application starts. The offset is calculated relative to the main camera position and the default value is (0,-0.2, 0.35) to make sure the hands appear in front and in view of the camera. The Desk orientation contains the LeapControllerOffset property which defines the anchor position of the desk leap hands. The Transform offset mode contains the LeapVRDeviceOrigin Transform property which specifies a new origin for the Leap Motion Controller. The axis offset property values are then applied to default controller placement.
#MAGICAVOXEL WITH LEAP MOTION MANUAL#
The Manual Head Offset mode allows for the modification of three properties: LeapVRDeviceOffsetY, LeapVRDeviceOffsetZ and LeapVRDeviceTiltX. If the offset mode is Default, then an offset will not be applied to the Leap Motion Controller. The LeapVRDeviceOffsetMode has three options: Default, Manual Head Offset and Transform. The Headset orientation offset properties mirror the offset properties in the LeapXRServiceProvider component. The default value is set to LeapControllerOrientation.Headset.Įach controller orientation contains offset properties:
![magicavoxel with leap motion magicavoxel with leap motion](https://i.ytimg.com/vi/FAsuZxPMjrE/maxresdefault.jpg)
LeapControllerOrientation.Desk indicates the controller is placed flat on desk. LeapControllerOrientation.Headset indicates the controller is mounted on a headset. The Leap Motion Data Provider contains the LeapControllerOrientation property which is the location of the Leap Motion Controller. Select Clone to change the default Leap Motion settings.Open the new data provider and set the Type to .Input > LeapMotionDeviceManager
![magicavoxel with leap motion magicavoxel with leap motion](https://www.vr-compare.com/img/headsets/preview/magicleap1.png)
![magicavoxel with leap motion magicavoxel with leap motion](https://www.slashgear.com/wp-content/uploads/2017/12/magic-leap-ui-996x720.jpg)