Class Monitor | Post Processing | 2.3.0
docs.unity3d.com
    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

    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023