Skip to content

Commit 7705ba2

Browse files
committed
Merge branch 'main' of https://github.com/microsoft/MixedRealityToolkit-Unity into ExamplesHub_260_MergeMain
# Conflicts: # Assets/MRTK/Examples/Experimental/SceneUnderstanding/Scenes/SceneUnderstandingExample.unity
2 parents 47d0534 + 50d3ff1 commit 7705ba2

File tree

661 files changed

+16599
-2570
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

661 files changed

+16599
-2570
lines changed

Assets/MRTK/Core/Attributes/ExperimentalAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
3-
using UnityEngine;
3+
44
using System;
5+
using UnityEngine;
56

67
namespace Microsoft.MixedReality.Toolkit
78
{

Assets/MRTK/Core/Attributes/HelpAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
3-
using UnityEngine;
3+
44
using System;
5+
using UnityEngine;
56

67
namespace Microsoft.MixedReality.Toolkit
78
{

Assets/MRTK/Core/Attributes/TagPropertyAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
3-
using UnityEngine;
3+
44
using System;
5+
using UnityEngine;
56

67
namespace Microsoft.MixedReality.Toolkit
78
{

Assets/MRTK/Core/Definitions/BoundarySystem/MixedRealityBoundaryVisualizationProfile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4+
using Microsoft.MixedReality.Toolkit.Physics;
45
using Microsoft.MixedReality.Toolkit.Utilities;
56
using UnityEngine;
6-
using Microsoft.MixedReality.Toolkit.Physics;
77

88
namespace Microsoft.MixedReality.Toolkit.Boundary
99
{

Assets/MRTK/Core/Definitions/Devices/ArticulatedHandDefinition.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public float EnterPinchDistance
5959
else
6060
{
6161
Debug.LogError("EnterPinchDistance must be between 0.015 and 0.1, please change Enter Pinch Distance in the Leap Motion Device Manager Profile");
62-
}
62+
}
6363
}
6464
}
6565

@@ -115,7 +115,7 @@ public MixedRealityInteractionMapping[] DefaultInteractions
115115
new MixedRealityInputActionMapping("Spatial Pointer", AxisType.SixDof, DeviceInputType.SpatialPointer),
116116
new MixedRealityInputActionMapping("Spatial Grip", AxisType.SixDof, DeviceInputType.SpatialGrip),
117117
new MixedRealityInputActionMapping("Select", AxisType.Digital, DeviceInputType.Select),
118-
new MixedRealityInputActionMapping("Grab", AxisType.SingleAxis, DeviceInputType.TriggerPress),
118+
new MixedRealityInputActionMapping("Grab", AxisType.SingleAxis, DeviceInputType.GripPress),
119119
new MixedRealityInputActionMapping("Index Finger Pose", AxisType.SixDof, DeviceInputType.IndexFinger),
120120
new MixedRealityInputActionMapping("Teleport Pose", AxisType.DualAxis, DeviceInputType.ThumbStick),
121121
};

Assets/MRTK/Core/Definitions/Devices/MixedRealityControllerVisualizationSetting.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public struct MixedRealityControllerVisualizationSetting
2121
/// <param name="controllerType">Controller Type to instantiate at runtime.</param>
2222
/// <param name="handedness">The designated hand that the device is managing.</param>
2323
/// <param name="overrideModel">The controller model prefab to be rendered.</param>
24+
[Obsolete("This constructor doesn't need to be called directly.")]
2425
public MixedRealityControllerVisualizationSetting(string description, Type controllerType, Handedness handedness = Handedness.None, GameObject overrideModel = null) : this()
2526
{
2627
this.description = description;

Assets/MRTK/Core/Definitions/Devices/MixedRealityEyeTrackingProfile.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4-
using Microsoft.MixedReality.Toolkit.Input;
54
using Microsoft.MixedReality.Toolkit.Utilities;
65
using System;
76
using UnityEngine;

Assets/MRTK/Core/Definitions/Devices/OculusTouchControllerDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class OculusTouchControllerDefinition : BaseInputSourceDefinition
1616
/// <param name="handedness">The handedness that this definition instance represents.</param>
1717
public OculusTouchControllerDefinition(Handedness handedness) : base(handedness)
1818
{
19-
if ((handedness != Handedness.Left) &&
19+
if ((handedness != Handedness.Left) &&
2020
(handedness != Handedness.Right))
2121
{
2222
throw new System.ArgumentException($"Unsupported Handedness ({handedness}). The OculusTouchControllerDefinition supports Left and Right.");

Assets/MRTK/Core/Definitions/InputSystem/AnimatedCursorData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4-
using System;
54
using Microsoft.MixedReality.Toolkit.Utilities;
5+
using System;
66
using UnityEngine;
77

88
namespace Microsoft.MixedReality.Toolkit.Input

Assets/MRTK/Core/Definitions/InputSystem/MixedRealityRaycastHit.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4-
using System;
54
using UnityEngine;
65

76
namespace Microsoft.MixedReality.Toolkit.Input

0 commit comments

Comments
 (0)