docs.unity.cn
    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

    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

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