MixedRealityToolkitVisualProfiler Class

Definition

The VisualProfiler provides a drop in, single file, solution for viewing your Windows Mixed Reality Unity application's frame rate and memory usage. Missed frames are displayed over time to visually find problem areas. Memory is reported as current, peak and max usage in a bar graph.

C++
public ref class MixedRealityToolkitVisualProfiler : UnityEngine::MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
MixedRealityToolkitVisualProfiler
Attributes
UnityEngine.AddComponentMenuAttribute

Remarks

To use this profiler simply add this script as a component of any GameObject in your Unity scene. The profiler is initially enabled (toggle-able via the initiallyActive property), but can be toggled via the enabled/disable voice commands keywords.

Constructors

Properties

FrameInfoVisible
FrameSampleRate
IsVisible
MemoryStatsVisible
ShowProfilerDuringMRC

If the diagnostics profiler should be visible while a mixed reality capture is happening on HoloLens.

WindowAnchor
WindowFollowSpeed
WindowOffset
WindowParent
WindowScale

Applies to

Produto Versións
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0