docs.unity3d.com
    Show / Hide Table of Contents

    Class VolumeParameterDrawerAttribute

    This attributes tells an VolumeParameterDrawer class which type of VolumeParameter it's an editor for. When you make a custom drawer for a parameter, you need add this attribute to the drawer class.

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

    Constructors

    VolumeParameterDrawerAttribute(Type)

    Creates a new VolumeParameterDrawerAttribute instance.

    Declaration
    public VolumeParameterDrawerAttribute(Type parameterType)
    Parameters
    Type Name Description
    Type parameterType

    A type derived from VolumeParameter<T>.

    Fields

    parameterType

    A type derived from VolumeParameter<T>.

    Declaration
    public readonly Type parameterType
    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

    VolumeParameterDrawer
    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