Class MixedRealityDiagnosticsSystem
Inheritance
MixedRealityDiagnosticsSystem
Implements
IEqualityComparer
Assembly: cs.temp.dll.dll
public class MixedRealityDiagnosticsSystem : BaseCoreSystem, IMixedRealityDiagnosticsSystem, IMixedRealityEventSystem, IMixedRealityService, IDisposable, IMixedRealityEventSource, IEqualityComparer
Constructors
Declaration
public MixedRealityDiagnosticsSystem(IMixedRealityServiceRegistrar registrar, MixedRealityDiagnosticsProfile profile)
Parameters
Properties
Typed representation of the ConfigurationProfile property.
Declaration
public MixedRealityDiagnosticsProfile DiagnosticsSystemProfile { get; }
Property Value
The amount of time, in seconds, to collect frames for frame rate calculation.
Declaration
public float FrameSampleRate { get; set; }
Property Value
Optional Priority attribute if multiple services of the same type are required, enables targeting a service for action.
Declaration
public override string Name { get; protected set; }
Property Value
Overrides
Enable / disable diagnostic display.
Declaration
public bool ShowDiagnostics { get; set; }
Property Value
Show or hide the frame info (per frame stats).
Declaration
public bool ShowFrameInfo { get; set; }
Property Value
Show or hide the memory stats (used, peak, and limit).
Declaration
public bool ShowMemoryStats { get; set; }
Property Value
Enable / disable the profiler display.
Declaration
public bool ShowProfiler { get; set; }
Property Value
The Unique Source Id of this Event Source.
Declaration
public uint SourceId { get; }
Property Value
The Name of this Event Source.
Declaration
public string SourceName { get; }
Property Value
What part of the view port to anchor the window to.
Declaration
public TextAnchor WindowAnchor { get; set; }
Property Value
Type |
Description |
TextAnchor |
|
How quickly to interpolate the window towards its target position and rotation.
Declaration
public float WindowFollowSpeed { get; set; }
Property Value
The offset from the view port center applied based on the window anchor selection.
Declaration
public Vector2 WindowOffset { get; set; }
Property Value
Use to scale the window size up or down, can simulate a zooming effect.
Declaration
public float WindowScale { get; set; }
Property Value
Methods
Optional Destroy function to perform cleanup of the service before the Mixed Reality Toolkit is destroyed.
Declaration
public override void Destroy()
Overrides
Declaration
public bool Equals(object x, object y)
Parameters
Returns
Declaration
public int GetHashCode(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
The initialize function is used to setup the service once created.
This method is called once all services have been registered in the Mixed Reality Toolkit.
Declaration
public override void Initialize()
Overrides
Implements
IEqualityComparer