1using System.Collections;
2using System.Collections.Generic;
30 isObjectActive = !isObjectActive;
38 bool isObjectActive =
m_NoiseUI.activeSelf;
39 isObjectActive = !isObjectActive;
48 isObjectActive = !isObjectActive;
60 Microsoft.MixedReality.Toolkit.CoreServices.DiagnosticsSystem.ShowDiagnostics =
false;
65 Microsoft.MixedReality.Toolkit.CoreServices.DiagnosticsSystem.ShowDiagnostics =
true;
74 var observer = Microsoft.MixedReality.Toolkit.CoreServices.GetSpatialAwarenessSystemDataProvider<Microsoft.MixedReality.Toolkit.XRSDK.OpenXR.OpenXRSpatialAwarenessMeshObserver>();
80 observer.DisplayOption = Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessMeshDisplayOptions.Visible;
84 observer.DisplayOption = Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessMeshDisplayOptions.Occlusion;
Defines the functionality of the hand-bound UI.
GameObject m_ParentAvatarUI
Reference to the parent object of Avatar UI.
void ToggleDiagnosticProfiler()
Toggle Diagnostic profiler which shows memory and frame rates. Mapped to the 3rd button in hand bound...
void ToggleMesh()
Toggle SpartialMesh Activate by wireframe button located above the avatar panel.
bool m_ToggleDiagnosticFlag
Toggle the diagnostic system.
void ToggleNoiseUI()
Toggle Noise UI You can toggle this UI via voice command or hand-bound menu.
bool m_IsMeshToggled
Toggle the mesh visibility.
GameObject m_NoiseUI
Reference to the parent object of Noise UI.
void ToggleNoiseDataPanel()
Toggle Noise Data Panel You can toggle this UI via voice command or hand-bound menu.
GameObject m_NoiseDataPanel
Reference to the parent object of Noise Data Panel.
void ToggleAvatarUI()
Toggle Avatar UI You can toggle this UI via voice command or hand-bound menu.