Editar

Partilhar via


LeapMotionDeviceManagerProfile.LeapControllerOffset Property

Definition

Adds an offset to the game object with LeapServiceProvider attached. This offset is only applied if the leapControllerOrientation is LeapControllerOrientation.Desk and is necessary for the hand to appear in front of the main camera. If the leap controller is on the desk, the LeapServiceProvider is added to the scene instead of the LeapXRServiceProvider. The anchor point for the hands is the position of the game object with the LeapServiceProvider attached.

public:
 property UnityEngine::Vector3 LeapControllerOffset { UnityEngine::Vector3 get(); void set(UnityEngine::Vector3 value); };
public UnityEngine.Vector3 LeapControllerOffset { get; set; }
member this.LeapControllerOffset : UnityEngine.Vector3 with get, set
Public Property LeapControllerOffset As Vector3

Property Value

UnityEngine.Vector3

Applies to