docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugDisplaySettingsVolume

    Debug Display Settings Volume

    Inheritance
    object
    DebugDisplaySettingsVolume
    Implements
    IDebugDisplaySettingsData
    IDebugDisplaySettingsQuery
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class DebugDisplaySettingsVolume : IDebugDisplaySettingsData, IDebugDisplaySettingsQuery

    Constructors

    DebugDisplaySettingsVolume()

    Constructor with the settings

    Declaration
    public DebugDisplaySettingsVolume()

    DebugDisplaySettingsVolume(IVolumeDebugSettings)

    Constructor with the settings

    Declaration
    [Obsolete("This constructor has been obsoleted and will be removed in a future version. #from(6000.2)", false)]
    public DebugDisplaySettingsVolume(IVolumeDebugSettings volumeDebugSettings)
    Parameters
    Type Name Description
    IVolumeDebugSettings volumeDebugSettings

    The volume debug settings object used for configuration.

    Properties

    AreAnySettingsActive

    Checks whether ANY of the debug settings are currently active.

    Declaration
    public bool AreAnySettingsActive { get; }
    Property Value
    Type Description
    bool

    selectedCamera

    Current camera to debug.

    Declaration
    public Camera selectedCamera { get; set; }
    Property Value
    Type Description
    Camera

    selectedComponent

    Current volume component to debug.

    Declaration
    public int selectedComponent { get; set; }
    Property Value
    Type Description
    int

    selectedComponentType

    Type of the current component to debug.

    Declaration
    public Type selectedComponentType { get; set; }
    Property Value
    Type Description
    Type

    volumeComponentsPathAndType

    List of Volume component types.

    Declaration
    public List<(string, Type)> volumeComponentsPathAndType { get; }
    Property Value
    Type Description
    List<(string, Type)>

    volumeDebugSettings

    Current volume debug settings.

    Declaration
    [Obsolete("This property has been obsoleted and will be removed in a future version. #from(6000.2)", false)]
    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.

    GetVolumeWeight(Volume)

    Obtains the volume weight

    Declaration
    public float GetVolumeWeight(Volume volume)
    Parameters
    Type Name Description
    Volume volume

    Volume

    Returns
    Type Description
    float

    The weight of the volume

    GetVolumesList()

    Gets the Volumes List for the current camera and selected volume component

    Declaration
    public ObservableList<Volume> GetVolumesList()
    Returns
    Type Description
    ObservableList<Volume>

    The list of influenced volumes

    Implements

    IDebugDisplaySettingsData
    IDebugDisplaySettingsQuery

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)