docs.unity3d.com
    Show / Hide Table of Contents

    Class DebugDisplaySettingsVolume

    Debug Dispaly Settings Volume

    Inheritance
    Object
    DebugDisplaySettingsVolume
    Namespace: UnityEngine.Rendering
    Syntax
    public class DebugDisplaySettingsVolume : IDebugDisplaySettingsData, IDebugDisplaySettingsQuery

    Constructors

    DebugDisplaySettingsVolume(IVolumeDebugSettings)

    Constructor with the settings

    Declaration
    public DebugDisplaySettingsVolume(IVolumeDebugSettings volumeDebugSettings)
    Parameters
    Type Name Description
    IVolumeDebugSettings volumeDebugSettings

    Properties

    AreAnySettingsActive

    If are any settings active

    Declaration
    public bool AreAnySettingsActive { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IDebugDisplaySettingsQuery.AreAnySettingsActive

    IsLightingActive

    If lighting is active

    Declaration
    public bool IsLightingActive { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IDebugDisplaySettingsQuery.IsLightingActive

    IsPostProcessingAllowed

    If post processing is allowed

    Declaration
    public bool IsPostProcessingAllowed { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IDebugDisplaySettingsQuery.IsPostProcessingAllowed

    volumeDebugSettings

    Current volume debug settings.

    Declaration
    public IVolumeDebugSettings volumeDebugSettings { get; }
    Property Value
    Type Description
    IVolumeDebugSettings

    Methods

    CreatePanel()

    Creates the panel

    Declaration
    public IDebugDisplaySettingsPanelDisposable CreatePanel()
    Returns
    Type Description
    IDebugDisplaySettingsPanelDisposable

    The panel tha is created

    Implements
    IDebugDisplaySettingsData.CreatePanel()

    TryGetScreenClearColor(ref Color)

    Returns if the clear color can be returned

    Declaration
    public bool TryGetScreenClearColor(ref Color color)
    Parameters
    Type Name Description
    Color color

    [In/out]The color

    Returns
    Type Description
    Boolean

    True if the screen clear color can be returned

    Implements
    IDebugDisplaySettingsQuery.TryGetScreenClearColor(ref Color)

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Terms of use
    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