Class SerializedParameterOverride | Package Manager UI website
docs.unity3d.com
    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
    System.Object
    SerializedParameterOverride
    Namespace: UnityEditor.Rendering.PostProcessing
    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
    System.Attribute[]

    displayName

    Returns the display name of the property.

    Declaration
    public string displayName { get; }
    Property Value
    Type Description
    System.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

    Back to top
    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