docs.unity.cn
    Show / Hide Table of Contents

    Class Monitor

    The base class for all debug monitors.

    Inheritance
    Object
    Monitor
    HistogramMonitor
    LightMeterMonitor
    VectorscopeMonitor
    WaveformMonitor
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    public abstract class Monitor : object

    Properties

    output

    The target texture to render this monitor to.

    Declaration
    public RenderTexture output { get; protected set; }
    Property Value
    Type Description
    RenderTexture

    Methods

    CheckOutput(Int32, Int32)

    Validates the output texture.

    Declaration
    protected void CheckOutput(int width, int height)
    Parameters
    Type Name Description
    Int32 width

    The output width.

    Int32 height

    The output height.

    IsRequestedAndSupported(PostProcessRenderContext)

    Checks if a monitor is supported and should be rendered.

    Declaration
    public bool IsRequestedAndSupported(PostProcessRenderContext context)
    Parameters
    Type Name Description
    PostProcessRenderContext context

    The current post-processing context.

    Returns
    Type Description
    Boolean

    true if supported and enabled, false otherwise.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, April 14, 2022
    Terms of use