Class VolumeComponentEditorAttribute
This attribute tells the Volume
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
Remarks
When creating a custom editor for a Volume
The attribute specifies which Volume
Since Unity 2022.2, this functionality has been replaced by the Custom
Constructors
VolumeComponentEditorAttribute(Type)
Creates a new Volume
Declaration
public VolumeComponentEditorAttribute(Type componentType)
Parameters
Type | Name | Description |
---|---|---|
Type | componentType | A type derived from Volume |
Remarks
This constructor initializes the attribute with the component type that the editor will target.
The component type is a subclass of Volume
See Also
Fields
componentType
A type derived from Volume
Declaration
public readonly Type componentType
Field Value
Type | Description |
---|---|
Type |
Remarks
This field holds the type of the volume component that the editor class will handle.
The type should be a subclass of Volume