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
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Obsolete("VolumeComponentMenuForRenderPipelineAttribute is deprecated. Use VolumeComponentMenu with SupportedOnCurrentPipeline instead. #from(2023.1)", false)]
public class VolumeComponentMenuForRenderPipeline : VolumeComponentMenu
Constructors
VolumeComponentMenuForRenderPipeline(string, params 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[] |