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,45 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrApplyConstraintsEventArgs.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using System;
namespace UltimateXR.Manipulation
{
/// <summary>
/// Event arguments for <see cref="UxrGrabbableObject" /> <see cref="UxrGrabbableObject.ConstraintsApplying" /> and
/// <see cref="UxrGrabbableObject.ConstraintsApplied" />.
/// </summary>
public class UxrApplyConstraintsEventArgs : EventArgs
{
#region Public Types & Data
/// <summary>
/// Gets the grabbable object being constrained.
/// </summary>
public UxrGrabbableObject GrabbableObject { get; }
#endregion
#region Constructors & Finalizer
/// <summary>
/// Constructor.
/// </summary>
/// <param name="grabbableObject">The object being constrained</param>
public UxrApplyConstraintsEventArgs(UxrGrabbableObject grabbableObject)
{
GrabbableObject = grabbableObject;
}
/// <summary>
/// Default constructor is private.
/// </summary>
private UxrApplyConstraintsEventArgs()
{
}
#endregion
}
}