docs.unity.cn
    Show / Hide Table of Contents

    Class VolumeComponentMenuForRenderPipeline

    This attribute allows you to add commands to the Add Override popup menu on Volumes and specify for which render pipelines will be supported

    Inheritance
    Object
    Attribute
    VolumeComponentMenu
    VolumeComponentMenuForRenderPipeline
    Inherited Members
    VolumeComponentMenu.menu
    Namespace: UnityEngine.Rendering
    Syntax
    public class VolumeComponentMenuForRenderPipeline : VolumeComponentMenu, _Attribute

    Constructors

    VolumeComponentMenuForRenderPipeline(String, Type[])

    Creates a new VolumeComponentMenuForRenderPipeline instance.

    Declaration
    public VolumeComponentMenuForRenderPipeline(string menu, params Type[] pipelineTypes)
    Parameters
    Type Name Description
    String menu

    The name of the entry in the override list. You can use slashes to create sub-menus.

    Type[] pipelineTypes

    The list of pipeline types that the target class supports

    Properties

    pipelineTypes

    The list of pipeline types that the target class supports

    Declaration
    public Type[] pipelineTypes { get; }
    Property Value
    Type Description
    Type[]

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 18 November 2022
    Terms of use