Skip to content

Commit ab56641

Browse files
authored
Merge pull request #9356 from microsoft/prerelease/2.6.0_stabilization
Branch synchronization: prerelease/2.6.0_stabilization --> mrtk_development
2 parents 9332d1b + 27dac55 commit ab56641

File tree

116 files changed

+791
-970
lines changed

Some content is hidden

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

116 files changed

+791
-970
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ public enum DeviceInputType
1414
Gaze,
1515
Voice,
1616
/// <summary>
17-
/// 6 Dof Pointer with position and rotation.
17+
/// 6-DoF pointer with position and rotation.
1818
/// </summary>
1919
SpatialPointer,
2020
/// <summary>
21-
/// 3 Dof Pointer with only position.
21+
/// 3-DoF pointer with only position.
2222
/// </summary>
2323
PointerPosition,
2424
/// <summary>
25-
/// 3 Dof Pointer with only rotation.
25+
/// 3-DoF pointer with only rotation.
2626
/// </summary>
2727
PointerRotation,
2828
PointerClick,
@@ -32,18 +32,18 @@ public enum DeviceInputType
3232
Trigger,
3333
TriggerTouch,
3434
TriggerNearTouch,
35-
// TriggerPress, in some cases, maps to the Grab gesture.
35+
// TriggerPress, in some cases, maps to the grab/grasp gesture.
3636
TriggerPress,
3737
/// <summary>
38-
/// 6 DoF Grip with position and rotation.
38+
/// 6-DoF grip with position and rotation.
3939
/// </summary>
4040
SpatialGrip,
4141
/// <summary>
42-
/// 3 DoF Grip with only position.
42+
/// 3-DoF grip with only position.
4343
/// </summary>
4444
GripPosition,
4545
/// <summary>
46-
/// 3 Dof Grip with only rotation.
46+
/// 3-DoF grip with only rotation.
4747
/// </summary>
4848
GripRotation,
4949
ThumbStick,
@@ -55,7 +55,7 @@ public enum DeviceInputType
5555
TouchpadNearTouch,
5656
TouchpadPress,
5757
/// <summary>
58-
/// Select maps to the Pinch/Air Tap gesture
58+
/// Select, in some cases, maps to the pinch/airtap gesture.
5959
/// </summary>
6060
Select,
6161
Start,
@@ -92,7 +92,7 @@ public enum DeviceInputType
9292
Grip,
9393
GripTouch,
9494
GripNearTouch,
95-
// GripPress, in some cases, maps to the Grab gesture.
95+
// GripPress, in some cases, maps to the grab/grasp gesture.
9696
GripPress,
9797
}
9898
}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,9 @@ public Vector2 Vector2Data
396396
}
397397

398398
/// <summary>
399-
/// The ThreeDof Vector3 Position data value.
399+
/// The ThreeDoF Vector3 Position data value.
400400
/// </summary>
401-
/// <remarks>Only supported for a ThreeDof mapping axis type</remarks>
401+
/// <remarks>Only supported for a ThreeDoF mapping axis type</remarks>
402402
public Vector3 PositionData
403403
{
404404
get
@@ -421,9 +421,9 @@ public Vector3 PositionData
421421
}
422422

423423
/// <summary>
424-
/// The ThreeDof Quaternion Rotation data value.
424+
/// The ThreeDoF Quaternion Rotation data value.
425425
/// </summary>
426-
/// <remarks>Only supported for a ThreeDof mapping axis type</remarks>
426+
/// <remarks>Only supported for a ThreeDoF mapping axis type</remarks>
427427
public Quaternion RotationData
428428
{
429429
get
@@ -446,7 +446,7 @@ public Quaternion RotationData
446446
/// <summary>
447447
/// The Pose data value.
448448
/// </summary>
449-
/// <remarks>Only supported for a SixDof mapping axis type</remarks>
449+
/// <remarks>Only supported for a SixDoF mapping axis type</remarks>
450450
public MixedRealityPose PoseData
451451
{
452452
get

Assets/MRTK/Core/Definitions/SpatialAwareness/Experimental/SpatialAwarenessSceneObject.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) Microsoft Corporation. All rights reserved.
2-
// Licensed under the MIT License. See LICENSE in the project root for license information.
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
33

44
using Microsoft.MixedReality.Toolkit.SpatialAwareness;
55
using System.Collections.Generic;
@@ -138,7 +138,7 @@ public class QuadData
138138
public Vector2 Extents { get; set; }
139139

140140
/// <summary>
141-
/// The occulusion mask of the quad.
141+
/// The occlusion mask of the quad.
142142
/// </summary>
143143
public byte[] OcclusionMask { get; set; }
144144

Assets/MRTK/Core/Definitions/Utilities/MixedRealityPose.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public MixedRealityPose(Quaternion rotation)
3838
}
3939

4040
/// <summary>
41-
/// The default value for a Six Dof Transform.
41+
/// The default value for a Six DoF Transform.
4242
/// </summary>
4343
/// <returns>
4444
/// <see href="https://docs.unity3d.com/ScriptReference/Vector3-zero.html">Vector3.zero</see> and <see href="https://docs.unity3d.com/ScriptReference/Quaternion-identity.html">Quaternion.identity</see>.

Assets/MRTK/Core/Definitions/Utilities/MixedRealityTransform.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static MixedRealityTransform NewScale(Vector3 scale)
5454
}
5555

5656
/// <summary>
57-
/// The default value for a Six Dof Transform.
57+
/// The default value for a Six DoF Transform.
5858
/// </summary>
5959
public static MixedRealityTransform Identity { get; } = new MixedRealityTransform(Vector3.zero, Quaternion.identity, Vector3.one);
6060

Assets/MRTK/Core/Inspectors/MixedRealityStandardShaderGUI.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,8 @@ protected void AdvancedOptions(MaterialEditor materialEditor, Material material)
713713

714714
materialEditor.EnableInstancingField();
715715

716+
GUI.enabled = true;
717+
716718
materialEditor.ShaderProperty(stencil, Styles.stencil);
717719

718720
if (PropertyEnabled(stencil))

Assets/MRTK/Core/Inspectors/MixedRealityToolkitFacadeHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.MixedReality.Toolkit.Utilities.Facades
1313
/// Links service facade objects to active services.
1414
/// </summary>
1515
/// <remarks>
16-
/// <para>This feature is is being deprecated in 2.5 and will be removed in a future release.
16+
/// <para>This feature is being deprecated in 2.5 and will be removed in a future release.
1717
/// The code that remains will actively seek to remove existing facades in scenes to ensure that
1818
/// developers that update to 2.5 will get their scenes cleaned up appropriately.</para>
1919
/// </remarks>

Assets/MRTK/Core/Inspectors/Profiles/MixedRealityControllerMappingProfileInspector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ private void RenderControllerList(SerializedProperty controllerList)
352352
/// <summary>
353353
/// Resets the input actions of the controller mapping according to the mapping's GetDefaultInteractionMappings() function
354354
/// </summary>
355-
/// <param name="controllerMapping">A reference to the controller mapping struct geing reset</param>
355+
/// <param name="controllerMapping">A reference to the controller mapping struct getting reset</param>
356356
private void ResetInputActions(ref MixedRealityControllerMapping controllerMapping)
357357
{
358358
controllerMapping.SetDefaultInteractionMapping(true);

Assets/MRTK/Core/Inspectors/Utilities/InspectorUIUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ static public bool DrawScriptableFoldout<T>(SerializedProperty scriptable, strin
710710

711711
/// <summary>
712712
/// Draws a foldout enlisting all components (or derived types) of the given type attached to the passed gameobject.
713-
/// Adds a button for adding any of the component (or dervied types) and a follow button to highlight existing attached components.
713+
/// Adds a button for adding any of the component (or derived types) and a follow button to highlight existing attached components.
714714
/// </summary>
715715
static public bool DrawComponentTypeFoldout<T>(GameObject gameObject, bool isExpanded, string typeDescription) where T : MonoBehaviour
716716
{

Assets/MRTK/Core/Providers/ObjectMeshObserver/Profiles/DefaultObjectMeshObserverProfile.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ MonoBehaviour:
2626
visibleMaterial: {fileID: 2100000, guid: 47c3d3b0d8143e3489351498fceed55d, type: 2}
2727
occlusionMaterial: {fileID: 2100000, guid: a809c7ea182b699409443d46d5b42435, type: 2}
2828
physicsMaterial: {fileID: 0}
29+
runtimeSpatialMeshPrefab: {fileID: 0}
2930
spatialMeshObject: {fileID: 100000, guid: 2d029f2a1321676428ce89872882c605, type: 3}

0 commit comments

Comments
 (0)