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 nameValueDescription
Free0No constraints.
RestrictToBox1The UxrGrabbableObject position is constrained to a box defined by a BoxCollider.
RestrictLocalOffset2The local position is constrained between minimum and maximum offsets pointed by the initial local axes.
RestrictToSphere3The UxrGrabbableObject position is constrained to a sphere defined by a SphereCollider.
Locked4The UxrGrabbableObject cannot move.

See Also

Reference

UltimateXR.Manipulation Namespace