docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IVolumeDebugSettings

    Volume debug settings. This variant is obsolete and kept only for not breaking user code. Use IVolumeDebugSettings2 for all new usage.

    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public interface IVolumeDebugSettings

    Properties

    cameras

    Returns the collection of registered cameras.

    Declaration
    IEnumerable<Camera> cameras { get; }
    Property Value
    Type Description
    IEnumerable<Camera>

    selectedCamera

    Current camera to debug.

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

    selectedCameraIndex

    Selected camera index.

    Declaration
    int selectedCameraIndex { get; set; }
    Property Value
    Type Description
    int

    selectedCameraLayerMask

    Selected camera volume layer mask.

    Declaration
    LayerMask selectedCameraLayerMask { get; }
    Property Value
    Type Description
    LayerMask

    selectedCameraPosition

    Selected camera volume position.

    Declaration
    Vector3 selectedCameraPosition { get; }
    Property Value
    Type Description
    Vector3

    selectedCameraVolumeStack

    Selected camera volume stack.

    Declaration
    VolumeStack selectedCameraVolumeStack { get; }
    Property Value
    Type Description
    VolumeStack

    selectedComponent

    Selected component.

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

    selectedComponentType

    Type of the current component to debug.

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

    Methods

    GetVolumeWeight(Volume)

    Obtains the volume weight

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

    Volume

    Returns
    Type Description
    float

    The weight of the volume

    GetVolumes()

    Obtains the Volumes

    Declaration
    Volume[] GetVolumes()
    Returns
    Type Description
    Volume[]

    The list of Volume

    RefreshVolumes(Volume[])

    Refreshes the volumes, fetches the stored volumes on the panel

    Declaration
    bool RefreshVolumes(Volume[] newVolumes)
    Parameters
    Type Name Description
    Volume[] newVolumes

    The list of Volume to refresh

    Returns
    Type Description
    bool

    If the volumes have been refreshed

    VolumeHasInfluence(Volume)

    Return if the Volume has influence

    Declaration
    bool VolumeHasInfluence(Volume volume)
    Parameters
    Type Name Description
    Volume volume

    Volume to check the influence

    Returns
    Type Description
    bool

    If the volume has influence

    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, T)
    In This Article
    Back to top
    Copyright © 2024 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)