Add ultimate xr
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
// <copyright file="UxrPlacementOptions.cs" company="VRMADA">
|
||||
// Copyright (c) VRMADA, All rights reserved.
|
||||
// </copyright>
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
using System;
|
||||
|
||||
namespace UltimateXR.Manipulation
|
||||
{
|
||||
/// <summary>
|
||||
/// Enumerates the different ways a <see cref="UxrGrabbableObject" /> can transition when being placed on an
|
||||
/// <see cref="UxrGrabbableObjectAnchor" />.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum UxrPlacementOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Place immediately. If the object is being grabbed, release it.
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Place using smooth transition (interpolation).
|
||||
/// </summary>
|
||||
Smooth = 1 << 0,
|
||||
|
||||
/// <summary>
|
||||
/// Do not release the object when placing.
|
||||
/// </summary>
|
||||
DontRelease = 1 << 1,
|
||||
|
||||
/// <summary>
|
||||
/// Overrides <see cref="UxrSnapToAnchorMode"/> so that it forces to snap the position.
|
||||
/// </summary>
|
||||
ForceSnapPosition = 1 << 2,
|
||||
|
||||
/// <summary>
|
||||
/// Overrides <see cref="UxrSnapToAnchorMode"/> so that it forces to snap the rotation.
|
||||
/// </summary>
|
||||
ForceSnapRotation = 1 << 3
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user