UxrSnapToAnchorMode Enumeration
Enumerates how a UxrGrabbableObject can snap to a UxrGrabbableObjectAnchor when being placed on it.
Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public enum UxrSnapToAnchorMode
Members
Member name | Value | Description | |
---|---|---|---|
DontSnap | 0 | Don’t snap. | |
PositionOnly | 1 | Snap the UxrGrabbableObject position and keep the rotation. | |
RotationOnly | 2 | Snap the UxrGrabbableObject rotation and keep the position. | |
PositionAndRotation | 3 | Snap the position and rotation. |