MixedRealityDiagnosticsProfile Class

Definition

Configuration profile settings for setting up diagnostics.

C++
public ref class MixedRealityDiagnosticsProfile : Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile
Inheritance
UnityEngine.ScriptableObject
MixedRealityDiagnosticsProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute UnityEngine.HelpURLAttribute

Constructors

Properties

DefaultInstancedMaterial

A material that the diagnostics system can use to render objects with instanced color support. A asset reference is required here to make sure the shader permutation is pulled into player builds.

FrameSampleRate

The amount of time, in seconds, to collect frames for frame rate calculation.

ShowDiagnostics

Show or hide diagnostic visualizations.

ShowFrameInfo

Show or hide the frame info (per frame stats).

ShowMemoryStats

Show or hide the memory stats (used, peak, and limit).

ShowProfiler

Show or hide the profiler UI.

ShowProfilerDuringMRC

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

WindowAnchor

What part of the view port to anchor the window to.

WindowFollowSpeed

How quickly to interpolate the window towards its target position and rotation.

WindowOffset

The offset from the view port center applied based on the window anchor selection.

WindowScale

Use to scale the window size up or down, can simulate a zooming effect.

Applies to

Produit Versions
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