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
VolumeParameterDrawerAttribute(Type)
Creates a new VolumeParameterDrawerAttribute instance.
Declaration
public VolumeParameterDrawerAttribute(Type parameterType)
Parameters
Type | Name | Description |
---|---|---|
Type | parameterType | A type derived from VolumeParameter<T>. |
See Also
Fields
parameterType
A type derived from VolumeParameter<T>.
Declaration
public readonly Type parameterType
Field Value
Type | Description |
---|---|
Type |