Class MixedRealityDiagnosticsProfile
Configuration profile settings for setting up diagnostics.
Namespace: Microsoft.MixedReality.Toolkit.Diagnostics
Assembly: cs.temp.dll.dll
Syntax
[MixedRealityServiceProfile(typeof(IMixedRealityDiagnosticsSystem))]
public class MixedRealityDiagnosticsProfile : BaseMixedRealityProfile
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.
Declaration
public Material DefaultInstancedMaterial { get; }
Property Value
Type | Description |
---|---|
Material |
FrameSampleRate
The amount of time, in seconds, to collect frames for frame rate calculation.
Declaration
public float FrameSampleRate { get; }
Property Value
Type | Description |
---|---|
Single |
ShowDiagnostics
Show or hide diagnostic visualizations.
Declaration
public bool ShowDiagnostics { get; }
Property Value
Type | Description |
---|---|
Boolean |
ShowFrameInfo
Show or hide the frame info (per frame stats).
Declaration
public bool ShowFrameInfo { get; }
Property Value
Type | Description |
---|---|
Boolean |
ShowMemoryStats
Show or hide the memory stats (used, peak, and limit).
Declaration
public bool ShowMemoryStats { get; }
Property Value
Type | Description |
---|---|
Boolean |
ShowProfiler
Show or hide the profiler UI.
Declaration
public bool ShowProfiler { get; }
Property Value
Type | Description |
---|---|
Boolean |
WindowAnchor
What part of the view port to anchor the window to.
Declaration
public TextAnchor WindowAnchor { get; }
Property Value
Type | Description |
---|---|
TextAnchor |
WindowFollowSpeed
How quickly to interpolate the window towards its target position and rotation.
Declaration
public float WindowFollowSpeed { get; }
Property Value
Type | Description |
---|---|
Single |
WindowOffset
The offset from the view port center applied based on the window anchor selection.
Declaration
public Vector2 WindowOffset { get; }
Property Value
Type | Description |
---|---|
Vector2 |
WindowScale
Use to scale the window size up or down, can simulate a zooming effect.
Declaration
public float WindowScale { get; }
Property Value
Type | Description |
---|---|
Single |