Class VolumeComponentEditorAttribute
This attributes tells a VolumeComponentEditor class which type of VolumeComponent it's an editor for. When you make a custom editor for a component, you need put this attribute on the editor class.
Implements
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
[Obsolete("VolumeComponentEditor property has been deprecated. Please use CustomEditor. #from(2022.2)")]
public sealed class VolumeComponentEditorAttribute : CustomEditor, _Attribute
Constructors
Name | Description |
---|---|
VolumeComponentEditorAttribute(Type) | Creates a new VolumeComponentEditorAttribute instance. |
Fields
Name | Description |
---|---|
componentType | A type derived from VolumeComponent. |