docs.unity.cn
    Show / Hide Table of Contents

    Class VolumeComponentEditorAttribute

    This attributes tells a VolumeComponentEditor class which type of it's an editor for. When you make a custom editor for a component, you need put this attribute on the editor class.

    Inheritance
    Object
    Attribute
    UnityEditor.CustomEditor
    VolumeComponentEditorAttribute
    Inherited Members
    UnityEditor.CustomEditor.isFallback
    Namespace: UnityEditor.Rendering
    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

    VolumeComponentEditorAttribute(Type)

    Creates a new VolumeComponentEditorAttribute instance.

    Declaration
    public VolumeComponentEditorAttribute(Type componentType)
    Parameters
    Type Name Description
    Type componentType

    A type derived from

    Fields

    componentType

    A type derived from .

    Declaration
    public readonly Type componentType
    Field Value
    Type Description
    Type

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)

    See Also

    VolumeComponentEditor
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023