Class PostProcessEditorAttribute
Tells a PostProcessEffectEditor<T> class which run-time type it's an editor for. When you make a custom editor for an effect, you need put this attribute on the editor class.
Inheritance
System.Object
System.Attribute
PostProcessEditorAttribute
Namespace: UnityEditor.Rendering.PostProcessing
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class PostProcessEditorAttribute : Attribute, _Attribute
Constructors
PostProcessEditorAttribute(Type)
Creates a new attribute.
Declaration
public PostProcessEditorAttribute(Type settingsType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | settingsType | The type that this editor can edit |
Fields
settingsType
The type that this editor can edit.
Declaration
public readonly Type settingsType
Field Value
Type | Description |
---|---|
System.Type |