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,27 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrGrabProximityMode.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using UnityEngine;
namespace UltimateXR.Manipulation
{
/// <summary>
/// Enumerates how the distance from a <see cref="UxrGrabber" /> to a <see cref="UxrGrabbableObject" /> can be
/// computed.
/// </summary>
public enum UxrGrabProximityMode
{
/// <summary>
/// Use the proximity transform in the <see cref="UxrGrabber" />.
/// </summary>
UseProximity,
/// <summary>
/// Use a <see cref="BoxCollider" /> inside which the <see cref="UxrGrabber" /> needs to be in order to grab the
/// object.
/// </summary>
BoxConstrained
}
}