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,28 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrGrabMode.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace UltimateXR.Manipulation
{
/// <summary>
/// What controller input we need to grab and release.
/// </summary>
public enum UxrGrabMode
{
/// <summary>
/// Object is grabbed while the grab button is pressed.
/// </summary>
GrabWhilePressed,
/// <summary>
/// One click on the grab button to grab, and another click to release it.
/// </summary>
GrabToggle,
/// <summary>
/// Object will keep being grabbed. It can be released manually through <see cref="UxrGrabbableObject.ReleaseGrabs" />.
/// </summary>
GrabAndKeepAlways
}
}