docs.unity.cn
    Show / Hide Table of Contents

    Class DebugDisplaySettingsVolume

    Debug Display Settings Volume

    Inheritance
    System.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

    Checks whether ANY of the debug settings are currently active.

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

    volumeDebugSettings

    Current volume debug settings.

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

    Methods

    CreatePanel()

    Creates the debug UI panel needed for these debug settings.

    Declaration
    public IDebugDisplaySettingsPanelDisposable CreatePanel()
    Returns
    Type Description
    IDebugDisplaySettingsPanelDisposable

    The debug UI panel created.

    Implements
    IDebugDisplaySettingsData.CreatePanel()

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023