Files
dungeons/Assets/UltimateXR/Runtime/Scripts/Manipulation/UxrRotationConstraintMode.cs
2024-08-06 21:58:35 +02:00

28 lines
963 B
C#

// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrRotationConstraintMode.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace UltimateXR.Manipulation
{
/// <summary>
/// Enumerates the ways a <see cref="UxrGrabbableObject" /> rotation can be constrained when being manipulated.
/// </summary>
public enum UxrRotationConstraintMode
{
/// <summary>
/// No constraints.
/// </summary>
Free,
/// <summary>
/// Local rotation constraint.
/// </summary>
RestrictLocalRotation,
/// <summary>
/// The <see cref="UxrGrabbableObject"/> cannot rotate.
/// </summary>
Locked
}
}