docs.unity.cn
    Show / Hide Table of Contents

    Class VolumeComponentMenu

    This attribute allows you to add commands to the Add Override popup menu on Volumes.

    Inheritance
    Object
    Attribute
    VolumeComponentMenu
    VolumeComponentMenuForRenderPipeline
    Namespace: UnityEngine.Rendering
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class VolumeComponentMenu : Attribute, _Attribute

    Constructors

    VolumeComponentMenu(String)

    Creates a new VolumeComponentMenu instance.

    Declaration
    public VolumeComponentMenu(string menu)
    Parameters
    Type Name Description
    String menu

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

    Fields

    menu

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

    Declaration
    public readonly string menu
    Field Value
    Type Description
    String

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 08 September 2021