docs.unity.cn
    Show / Hide Table of Contents

    Class SerializedDataParameter

    A serialization wrapper for VolumeParameter<T>.

    Inheritance
    Object
    SerializedDataParameter
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering
    Syntax
    public sealed class SerializedDataParameter

    Properties

    attributes

    A pre-fetched list of all the attributes applied on the VolumeParameter<T>.

    Declaration
    public Attribute[] attributes { get; }
    Property Value
    Type Description
    Attribute[]

    displayName

    The generated display name of the VolumeParameter<T> for the inspector.

    Declaration
    public string displayName { get; }
    Property Value
    Type Description
    String

    overrideState

    The serialized property for overrideState.

    Declaration
    public SerializedProperty overrideState { get; }
    Property Value
    Type Description
    SerializedProperty

    referenceType

    The actual type of the serialized VolumeParameter<T>.

    Declaration
    public Type referenceType { get; }
    Property Value
    Type Description
    Type

    value

    The serialized property for value

    Declaration
    public SerializedProperty value { get; }
    Property Value
    Type Description
    SerializedProperty

    Methods

    GetAttribute<T>()

    Gets and casts an attribute applied on the base VolumeParameter<T>.

    Declaration
    public T GetAttribute<T>()
        where T : Attribute
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetObjectRef<T>()

    Gets and casts the underlying reference of type T.

    Declaration
    public T GetObjectRef<T>()
    Returns
    Type Description
    T

    The reference to the serialized VolumeParameter<T> type

    Type Parameters
    Name Description
    T

    The type to cast to

    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)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023