docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SerializedParameterOverride

    A wrapper used for ParameterOverride<T> serialization and easy access to the underlying property and override state.

    Inheritance
    object
    SerializedParameterOverride
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering.PostProcessing
    Assembly: Unity.Postprocessing.Editor.dll
    Syntax
    public sealed class SerializedParameterOverride

    Properties

    attributes

    An array of all attributes set on the original parameter.

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

    displayName

    Returns the display name of the property.

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

    overrideState

    The override state property of the serialized parameter.

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

    value

    The value property of the serialized parameter.

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

    Methods

    GetAttribute<T>()

    Gets the attribute of type T from the original parameter.

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

    And attribute or type T, or null if none has been found

    Type Parameters
    Name Description
    T

    The type of attribute to look for

    In This Article
    Back to top
    Copyright © 2025 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)