Edit

Share via


LeapVRDeviceOffsetMode Enum

Definition

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 class LeapVRDeviceOffsetMode
public enum LeapVRDeviceOffsetMode
type LeapVRDeviceOffsetMode = 
Public Enum LeapVRDeviceOffsetMode
Inheritance
LeapVRDeviceOffsetMode

Fields

Default 0

No change or offset will be applied to the Leap Controller while in this mode.

ManualHeadOffset 1

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.

Transform 2

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.

Applies to