Class VolumeComponentMenu
This attribute allows you to add commands to the Add Override popup menu on Volumes. To filter VolumeComponentMenu based on current Render Pipeline, add SupportedOnRenderPipeline attribute to the class alongside with this attribute.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class VolumeComponentMenu : 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 |