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.
Namespace: UnityEditor.Rendering
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>. |
Fields
parameterType
A type derived from VolumeParameter<T>.
Declaration
public readonly Type parameterType
Field Value
Type | Description |
---|---|
Type |