docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    Attribute
    VolumeComponentEditorAttribute
    Namespace: UnityEditor.Rendering
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public sealed class VolumeComponentEditorAttribute : Attribute, _Attribute

    Constructors

    VolumeComponentEditorAttribute(Type)

    Creates a new VolumeComponentEditorAttribute instance.

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

    A type derived from VolumeComponent

    Fields

    componentType

    A type derived from VolumeComponent.

    Declaration
    public readonly Type componentType
    Field Value
    Type Description
    Type

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)

    See Also

    VolumeComponentEditor
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023