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
Name | Description |
---|---|
VolumeComponentMenu(string) | Creates a new VolumeComponentMenu instance. |
Fields
Name | Description |
---|---|
menu | The name of the entry in the override list. You can use slashes to create sub-menus. |