// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace Microsoft.MixedReality.Toolkit.LeapMotion.Input { /// /// The offset modes when the LeapControllerOrientation is Headset. These offset modes can only be used if the /// LeapServiceProvider within the LeapMotionDeviceManager.cs is the LeapXRServiceProvider. These modes are only for the /// offset of the Leap Controller while in VR and not while the controller is on the desk. /// public enum LeapVRDeviceOffsetMode { /// /// No change or offset will be applied to the Leap Controller while in this mode. /// Default = 0, /// /// This mode exposes the modification of 3 properties: LeapDeviceOffsetY, LeapDeviceOffsetZ and LeapDeviceOffsetTiltX. These properties /// have the same set range as the offset properties contained in the LeapXRServiceProvider component. /// ManualHeadOffset, /// /// Set a new transform as the origin of the Leap Controller while in VR. Setting the origin of the Leap Controller will move the hands /// to the new transform. /// Transform } }