docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SerializedDataParameter

    A serialization wrapper for VolumeParameter<T>.

    Inheritance
    object
    SerializedDataParameter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    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

    The first attribute of type T found, or null if no such attribute is present.

    Type Parameters
    Name Description
    T

    The type of the attribute to retrieve.

    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

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)