日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class MixedRealityToolkitVisualProfiler

    ABOUT: 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.

    USAGE: 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.

    Inheritance
    Object
    MixedRealityToolkitVisualProfiler
    Namespace: Microsoft.MixedReality.Toolkit.Diagnostics
    Assembly: cs.temp.dll.dll
    Syntax
    public class MixedRealityToolkitVisualProfiler : MonoBehaviour

    Properties

    FrameInfoVisible

    Declaration
    public bool FrameInfoVisible { get; set; }
    Property Value
    Type Description
    Boolean

    FrameSampleRate

    Declaration
    public float FrameSampleRate { get; set; }
    Property Value
    Type Description
    Single

    IsVisible

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type Description
    Boolean

    MemoryStatsVisible

    Declaration
    public bool MemoryStatsVisible { get; set; }
    Property Value
    Type Description
    Boolean

    ShowProfilerDuringMRC

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

    Declaration
    public bool ShowProfilerDuringMRC { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    This is not usually recommended, as MRC can have an effect on an app's frame rate.

    WindowAnchor

    Declaration
    public TextAnchor WindowAnchor { get; set; }
    Property Value
    Type Description
    TextAnchor

    WindowFollowSpeed

    Declaration
    public float WindowFollowSpeed { get; set; }
    Property Value
    Type Description
    Single

    WindowOffset

    Declaration
    public Vector2 WindowOffset { get; set; }
    Property Value
    Type Description
    Vector2

    WindowParent

    Declaration
    public Transform WindowParent { get; set; }
    Property Value
    Type Description
    Transform

    WindowScale

    Declaration
    public float WindowScale { get; set; }
    Property Value
    Type Description
    Single
    Back to top Generated by DocFX