// -------------------------------------------------------------------------------------------------------------------- // // Copyright (c) VRMADA, All rights reserved. // // -------------------------------------------------------------------------------------------------------------------- using UnityEngine; namespace UltimateXR.Manipulation { /// /// Enumerates the ways a position can be constrained when being manipulated. /// public enum UxrTranslationConstraintMode { /// /// No constraints. /// Free, /// /// The position is constrained to a box defined by a . /// RestrictToBox, /// /// The local position is constrained between minimum and maximum offsets pointed by the initial local axes. /// RestrictLocalOffset, /// /// The position is constrained to a sphere defined by a /// . /// RestrictToSphere, /// /// The cannot move. /// Locked } }