Move third party assets to ThirdParty folder

This commit is contained in:
2024-08-08 11:26:28 +02:00
parent 386f303057
commit bd91af6f98
10340 changed files with 100 additions and 175 deletions

View File

@@ -0,0 +1,68 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrWindowsMixedRealityInput.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using System.Collections.Generic;
using UltimateXR.Core;
using UnityEngine;
namespace UltimateXR.Devices.Integrations.Microsoft
{
/// <summary>
/// Windows Mixed Reality input using Unity XR.
/// </summary>
public class UxrWindowsMixedRealityInput : UxrUnityXRControllerInput
{
#region Inspector Properties/Serialized Fields
[Header("Windows Mixed Reality:")] [SerializeField] private float _joystickDeadZone = 0.15f;
#endregion
#region Public Overrides UxrControllerInput
/// <summary>
/// Requires WMR SDK using OpenXR.
/// </summary>
public override string SDKDependency => UxrConstants.SdkWindowsMixedReality;
/// <inheritdoc />
public override UxrControllerSetupType SetupType => UxrControllerSetupType.Dual;
/// <inheritdoc />
public override bool IsHandednessSupported => true;
/// <inheritdoc />
public override float JoystickDeadZone => _joystickDeadZone;
/// <inheritdoc />
public override bool HasControllerElements(UxrHandSide handSide, UxrControllerElements controllerElements)
{
uint validElements = (uint)(UxrControllerElements.Joystick |
UxrControllerElements.Joystick2 |
UxrControllerElements.Grip |
UxrControllerElements.Trigger |
UxrControllerElements.Menu |
UxrControllerElements.DPad);
return (validElements & (uint)controllerElements) == (uint)controllerElements;
}
#endregion
#region Public Overrides UxrUnityXRControllerInput
/// <inheritdoc />
public override IEnumerable<string> ControllerNames
{
get
{
yield return "Windows MR Controller";
yield return "Windows MR Controller OpenXR";
}
}
#endregion
}
}

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 3e6fba2dada135740a5cc23e3c44ab6b
timeCreated: 1499677449
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,30 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrWindowsMixedRealityTracking.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using System;
using UltimateXR.Core;
namespace UltimateXR.Devices.Integrations.Microsoft
{
/// <summary>
/// Tracking component for devices based on Windows Mixed Reality.
/// </summary>
public class UxrWindowsMixedRealityTracking : UxrUnityXRControllerTracking
{
#region Public Overrides UxrControllerTracking
/// <inheritdoc />
public override Type RelatedControllerInputType => typeof(UxrWindowsMixedRealityInput);
#endregion
#region Public Overrides UxrTrackingDevice
/// <inheritdoc />
public override string SDKDependency => UxrConstants.SdkWindowsMixedReality;
#endregion
}
}

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 6e44a53324016f44da8b9fb0183ace63
timeCreated: 1499842642
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: