Class VolumeParameterDrawerAttribute
This attributes tells an VolumeParameterDrawer class which type of VolumeParameter it's an editor for. When you make a custom drawer for a parameter, you need add this attribute to the drawer class.
Implements
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class VolumeParameterDrawerAttribute : Attribute, _Attribute
Constructors
Name | Description |
---|---|
VolumeParameterDrawerAttribute(Type) | Creates a new VolumeParameterDrawerAttribute instance. |
Fields
Name | Description |
---|---|
parameterType | A type derived from VolumeParameter<T>. |