Class ObjectParameter<T> | Core RP Library | 7.2.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class ObjectParameter<T>

    A VolumeParameter that holds a serializable class or struct.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<T>
    ObjectParameter<T>
    Inherited Members
    VolumeParameter<T>.m_Value
    VolumeParameter<T>.Interp(T, T, Single)
    VolumeParameter<T>.Override(T)
    VolumeParameter<T>.SetValue(VolumeParameter)
    VolumeParameter<T>.GetHashCode()
    VolumeParameter<T>.ToString()
    VolumeParameter<T>.Equals(VolumeParameter<T>)
    VolumeParameter<T>.Equals(Object)
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    Namespace: UnityEngine.Rendering
    Syntax
    [Serializable]
    public class ObjectParameter<T> : VolumeParameter<T>, IEquatable<VolumeParameter<T>>
    Type Parameters
    Name Description
    T

    The type of serializable object or struct to hold in this parameter.

    Constructors

    ObjectParameter(T)

    Creates a new ObjectParameter<T> instance.

    Declaration
    public ObjectParameter(T value)
    Parameters
    Type Name Description
    T value

    The initial value to store in the parameter.

    Properties

    overrideState

    The current override state for this parameter. Note that this is always forced enabled on ObjectParameter<T>.

    Declaration
    public override sealed bool overrideState { get; set; }
    Property Value
    Type Description
    Boolean
    Overrides
    VolumeParameter.overrideState

    value

    The value stored by this parameter.

    Declaration
    public override sealed T value { get; set; }
    Property Value
    Type Description
    T
    Overrides
    UnityEngine.Rendering.VolumeParameter<T>.value
    In This Article
    • Constructors
      • ObjectParameter(T)
    • Properties
      • overrideState
      • value
    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