UxrSnapToHandMode Enumeration
Enumerates the ways a UxrGrabbableObject can snap to a UxrGrabber.
Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public enum UxrSnapToHandMode
Members
Member name | Value | Description | |
---|---|---|---|
DontSnap | 0 | Don’t snap. The UxrGrabbableObject is simply linked to the UxrGrabber and from then on it will move along with it. | |
PositionOnly | 1 | Keep the current UxrGrabbableObject orientation and snap the position. | |
RotationOnly | 2 | Keep the current UxrGrabbableObject position and snap the rotation. | |
PositionAndRotation | 3 | Snap the UxrGrabbableObject position and rotation to the UxrGrabber. |