docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MaterialDebugSettings

    Material Debug Settings.

    Inheritance
    object
    MaterialDebugSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [Serializable]
    public class MaterialDebugSettings

    Fields

    Name Description
    debugViewMaterialCommonValue

    Current material shared properties debug view.

    debugViewMaterialGBufferStrings

    List of material debug view names.

    debugViewMaterialGBufferValues

    List of material debug views values.

    materialValidateHighColor

    Color for displaying materials using an albedo value that is too high.

    materialValidateLowColor

    Color for displaying materials using an albedo value that is too low.

    materialValidateTrueMetal

    Enable display of materials using a true metallic value.

    materialValidateTrueMetalColor

    Color for displaying materials using a true metallic color.

    Properties

    Name Description
    debugViewEngine

    Current Engine Debug View.

    debugViewGBuffer

    Current GBuffer Debug View.

    debugViewMaterial

    Current Debug View Material.

    debugViewProperties

    Current Properties Debug View.

    debugViewVarying

    Current Varying Debug View.

    Methods

    Name Description
    DisableMaterialDebug()

    Disable all current material debug views.

    IsDebugDisplayEnabled()

    Returns true if any material debug display is enabled.

    IsDebugGBufferEnabled()

    Returns true if GBuffer debug is enabled.

    IsDebugViewMaterialEnabled()

    Returns true if Material debug is enabled.

    SetDebugViewCommonMaterialProperty(MaterialSharedProperty)

    Set the current shared material properties debug view.

    SetDebugViewEngine(int)

    Set the current engine debug view.

    SetDebugViewGBuffer(int)

    Set the current GBuffer debug view.

    SetDebugViewMaterial(int)

    Set the current material debug view.

    SetDebugViewProperties(DebugViewProperties)

    Set the current Material Property debug view.

    SetDebugViewVarying(DebugViewVarying)

    Set current varying debug view.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)