UxrTranslationConstraintMode Enumeration
Enumerates the ways a UxrGrabbableObject position can be constrained when being manipulated.
Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public enum UxrTranslationConstraintMode
Members
Member name | Value | Description | |
---|---|---|---|
Free | 0 | No constraints. | |
RestrictToBox | 1 | The UxrGrabbableObject position is constrained to a box defined by a BoxCollider. | |
RestrictLocalOffset | 2 | The local position is constrained between minimum and maximum offsets pointed by the initial local axes. | |
RestrictToSphere | 3 | The UxrGrabbableObject position is constrained to a sphere defined by a SphereCollider. | |
Locked | 4 | The UxrGrabbableObject cannot move. |