Add ultimate xr

This commit is contained in:
2024-08-06 21:58:35 +02:00
parent 864033bf10
commit 7165bacd9d
3952 changed files with 2162037 additions and 35 deletions

View File

@@ -0,0 +1,34 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrSnapToAnchorMode.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace UltimateXR.Manipulation
{
/// <summary>
/// Enumerates how a <see cref="UxrGrabbableObject" /> can snap to a <see cref="UxrGrabbableObjectAnchor" /> when being
/// placed on it.
/// </summary>
public enum UxrSnapToAnchorMode
{
/// <summary>
/// Don't snap.
/// </summary>
DontSnap,
/// <summary>
/// Snap the <see cref="UxrGrabbableObject" /> position and keep the rotation.
/// </summary>
PositionOnly,
/// <summary>
/// Snap the <see cref="UxrGrabbableObject" /> rotation and keep the position.
/// </summary>
RotationOnly,
/// <summary>
/// Snap the position and rotation.
/// </summary>
PositionAndRotation
}
}