Editar

Compartilhar via


MixedRealityDiagnosticsProfile Class

Definition

Configuration profile settings for setting up diagnostics.

public ref class MixedRealityDiagnosticsProfile : Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Diagnostics.IMixedRealityDiagnosticsSystem), null)]
[UnityEngine.CreateAssetMenu(fileName="MixedRealityDiagnosticsProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Diagnostics Profile", order=14)]
[UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/diagnostics/diagnostics-system-getting-started")]
public class MixedRealityDiagnosticsProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Diagnostics.IMixedRealityDiagnosticsSystem), null)]
[UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/diagnostics/diagnostics-system-getting-started")]
[UnityEngine.CreateAssetMenu(fileName="MixedRealityDiagnosticsProfile", menuName="Mixed Reality/Toolkit/Profiles/Mixed Reality Diagnostics Profile", order=14)]
public class MixedRealityDiagnosticsProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Diagnostics.IMixedRealityDiagnosticsSystem), null)>]
[<UnityEngine.CreateAssetMenu(fileName="MixedRealityDiagnosticsProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Diagnostics Profile", order=14)>]
[<UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/diagnostics/diagnostics-system-getting-started")>]
type MixedRealityDiagnosticsProfile = class
    inherit BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Diagnostics.IMixedRealityDiagnosticsSystem), null)>]
[<UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/diagnostics/diagnostics-system-getting-started")>]
[<UnityEngine.CreateAssetMenu(fileName="MixedRealityDiagnosticsProfile", menuName="Mixed Reality/Toolkit/Profiles/Mixed Reality Diagnostics Profile", order=14)>]
type MixedRealityDiagnosticsProfile = class
    inherit BaseMixedRealityProfile
Public Class MixedRealityDiagnosticsProfile
Inherits BaseMixedRealityProfile
Inheritance
UnityEngine.ScriptableObject
MixedRealityDiagnosticsProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute UnityEngine.HelpURLAttribute

Constructors

MixedRealityDiagnosticsProfile()

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