docs.unity3d.com
    Show / Hide Table of Contents

    Class SerializedDataParameter

    A serialization wrapper for VolumeParameter<T>.

    Inheritance
    Object
    SerializedDataParameter
    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

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    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