docs.unity.cn
    Show / Hide Table of Contents

    Class VolumeDebugSettings

    Volume debug settings.

    Inheritance
    Object
    VolumeDebugSettings
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public class VolumeDebugSettings

    Properties

    componentTypes

    List of Volume component types.

    Declaration
    public static List<Type> componentTypes { get; }
    Property Value
    Type Description
    List<Type>

    selectedCamera

    Current camera to debug.

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

    selectedCameraLayerMask

    Selected camera volume layer mask.

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

    selectedCameraPosition

    Selected camera volume position.

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

    selectedCameraVolumeStack

    Selected camera volume stack.

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

    selectedComponentType

    Type of the current component to debug.

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

    Methods

    ComponentDisplayName(Type)

    Returns the name of a component from its VolumeComponentMenu.

    Declaration
    public static string ComponentDisplayName(Type component)
    Parameters
    Type Name Description
    Type component

    A volume component.

    Returns
    Type Description
    String

    The component display name.

    GetVolumes()

    Get an array of volumes on the selectedCameraLayerMask

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

    An array of volumes sorted by influence.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021