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,37 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrDeviceConnectEventArgs.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using System;
namespace UltimateXR.Devices
{
/// <summary>
/// Device connection/disconnection event arguments.
/// </summary>
public class UxrDeviceConnectEventArgs : EventArgs
{
#region Public Types & Data
/// <summary>
/// Gets whether the device was connected (true) or disconnected (false).
/// </summary>
public bool IsConnected { get; }
#endregion
#region Constructors & Finalizer
/// <summary>
/// Constructor.
/// </summary>
/// <param name="isConnected">Whether the device was connected (true) or disconnected (false)</param>
public UxrDeviceConnectEventArgs(bool isConnected)
{
IsConnected = isConnected;
}
#endregion
}
}