Skip to content

Commit 69741e6

Browse files
author
David Kline
authored
Merge pull request #3482 from Microsoft/beta2-stabilization
Beta2 stabilization -> mrtk development
2 parents 213c472 + 03c5906 commit 69741e6

File tree

151 files changed

+800
-1145
lines changed

Some content is hidden

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

151 files changed

+800
-1145
lines changed

Assets/MixedRealityToolkit.Examples/Demos/Diagnostics/Scenes/DiagnosticsDemo.unity

Lines changed: 89 additions & 363 deletions
Large diffs are not rendered by default.

Assets/MixedRealityToolkit.Examples/Demos/Diagnostics/Scripts/DiagnosticsDemoControls.cs

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,40 +19,24 @@ private async void Start()
1919

2020
await new WaitUntil(() => MixedRealityToolkit.DiagnosticsSystem != null);
2121

22-
// Turn on the diagnostics for this demo.
23-
MixedRealityToolkit.DiagnosticsSystem.Visible = true;
22+
// Turn on the diagnotic visualizations for this demo.
23+
MixedRealityToolkit.DiagnosticsSystem.ShowDiagnostics = true;
2424
}
2525

2626
/// <summary>
27-
/// Shows or hides the diagnostics information display.
27+
/// Shows or hides all enabled diagnostics.
2828
/// </summary>
2929
public void OnToggleDiagnostics()
3030
{
31-
MixedRealityToolkit.DiagnosticsSystem.Visible = !MixedRealityToolkit.DiagnosticsSystem.Visible;
31+
MixedRealityToolkit.DiagnosticsSystem.ShowDiagnostics = !MixedRealityToolkit.DiagnosticsSystem.ShowDiagnostics;
3232
}
3333

3434
/// <summary>
35-
/// Shows or hides the frame rate display.
35+
/// Shows or hides the profiler display.
3636
/// </summary>
37-
public void OnToggleFrameRate()
37+
public void OnToggleProfiler()
3838
{
39-
MixedRealityToolkit.DiagnosticsSystem.ShowFps = !MixedRealityToolkit.DiagnosticsSystem.ShowFps;
40-
}
41-
42-
/// <summary>
43-
/// Shows or hides the memory usage display.
44-
/// </summary>
45-
public void OnToggleMemory()
46-
{
47-
MixedRealityToolkit.DiagnosticsSystem.ShowMemory = !MixedRealityToolkit.DiagnosticsSystem.ShowMemory;
48-
}
49-
50-
/// <summary>
51-
/// Shows or hides the processor usage display.
52-
/// </summary>
53-
public void OnToggleProcessor()
54-
{
55-
MixedRealityToolkit.DiagnosticsSystem.ShowCpu = !MixedRealityToolkit.DiagnosticsSystem.ShowCpu;
39+
MixedRealityToolkit.DiagnosticsSystem.ShowProfiler = !MixedRealityToolkit.DiagnosticsSystem.ShowProfiler;
5640
}
5741
}
5842
}

Assets/MixedRealityToolkit.Providers/OpenVR/OculusRemoteController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.MixedReality.Toolkit.Providers.OpenVR
1212
[MixedRealityController(
1313
SupportedControllerType.OculusRemote,
1414
new[] { Handedness.None },
15-
"Resources/Textures/OculusRemoteController")]
15+
"StandardAssets/Textures/OculusRemoteController")]
1616
public class OculusRemoteController : GenericOpenVRController
1717
{
1818
/// <summary>

Assets/MixedRealityToolkit.Providers/OpenVR/OculusTouchController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.MixedReality.Toolkit.Providers.OpenVR
1313
[MixedRealityController(
1414
SupportedControllerType.OculusTouch,
1515
new[] { Handedness.Left, Handedness.Right },
16-
"Resources/Textures/OculusControllersTouch")]
16+
"StandardAssets/Textures/OculusControllersTouch")]
1717
public class OculusTouchController : GenericOpenVRController
1818
{
1919
/// <summary>

Assets/MixedRealityToolkit.Providers/OpenVR/ViveWandController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.MixedReality.Toolkit.Providers.OpenVR
1313
[MixedRealityController(
1414
SupportedControllerType.ViveWand,
1515
new[] { Handedness.Left, Handedness.Right },
16-
"Resources/Textures/ViveWandController")]
16+
"StandardAssets/Textures/ViveWandController")]
1717
public class ViveWandController : GenericOpenVRController
1818
{
1919
/// <summary>

Assets/MixedRealityToolkit.Providers/OpenVR/WindowsMixedRealityOpenVRMotionController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Microsoft.MixedReality.Toolkit.Providers.OpenVR
1616
[MixedRealityController(
1717
SupportedControllerType.WindowsMixedReality,
1818
new[] { Handedness.Left, Handedness.Right },
19-
"Resources/Textures/MotionController")]
19+
"StandardAssets/Textures/MotionController")]
2020
public class WindowsMixedRealityOpenVRMotionController : GenericOpenVRController
2121
{
2222
/// <summary>

Assets/MixedRealityToolkit.Providers/WindowsMixedReality/WindowsMixedRealityController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality
2222
[MixedRealityController(
2323
SupportedControllerType.WindowsMixedReality,
2424
new[] { Handedness.Left, Handedness.Right, Handedness.None },
25-
"Resources/Textures/MotionController")]
25+
"StandardAssets/Textures/MotionController")]
2626
public class WindowsMixedRealityController : BaseController
2727
{
2828
/// <summary>

Assets/MixedRealityToolkit.SDK/Features/Diagnostics.meta

Lines changed: 0 additions & 8 deletions
This file was deleted.

Assets/MixedRealityToolkit.SDK/Features/Diagnostics/Scripts.meta

Lines changed: 0 additions & 8 deletions
This file was deleted.

Assets/MixedRealityToolkit.SDK/Features/Diagnostics/Scripts/DiagnosticsHandler.cs

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)