docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PostProcessProfile

    An asset holding a set of post-processing settings to use with a PostProcessVolume.

    Inheritance
    object
    Object
    ScriptableObject
    PostProcessProfile
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.PostProcessing
    Assembly: Unity.Postprocessing.Runtime.dll
    Syntax
    public sealed class PostProcessProfile : ScriptableObject

    Fields

    isDirty

    Sets to true if the content of the profile has changed. This is only really used in the editor to handle inspector refreshes.

    Declaration
    [NonSerialized]
    public bool isDirty
    Field Value
    Type Description
    bool
    See Also
    PostProcessVolume

    settings

    A list of all settings stored in this profile.

    Declaration
    [Tooltip("A list of all settings currently stored in this profile.")]
    public List<PostProcessEffectSettings> settings
    Field Value
    Type Description
    List<PostProcessEffectSettings>
    See Also
    PostProcessVolume

    Methods

    AddSettings(Type)

    Adds settings for an effect to the profile.

    Declaration
    public PostProcessEffectSettings AddSettings(Type type)
    Parameters
    Type Name Description
    Type type

    A type of PostProcessEffectSettings

    Returns
    Type Description
    PostProcessEffectSettings

    The instance created from the given type

    See Also
    PostProcessEffectSettings

    AddSettings(PostProcessEffectSettings)

    Adds settings for an effect to the profile.

    Declaration
    public PostProcessEffectSettings AddSettings(PostProcessEffectSettings effect)
    Parameters
    Type Name Description
    PostProcessEffectSettings effect

    An instance of PostProcessEffectSettings

    Returns
    Type Description
    PostProcessEffectSettings

    The given effect instance

    See Also
    PostProcessEffectSettings

    AddSettings<T>()

    Adds settings for an effect to the profile.

    Declaration
    public T AddSettings<T>() where T : PostProcessEffectSettings
    Returns
    Type Description
    T

    The instance created from the given type

    Type Parameters
    Name Description
    T

    A type of PostProcessEffectSettings

    See Also
    PostProcessEffectSettings

    GetSetting<T>()

    Returns settings for a given effect type.

    Declaration
    public T GetSetting<T>() where T : PostProcessEffectSettings
    Returns
    Type Description
    T

    Settings for the given effect type, null otherwise

    Type Parameters
    Name Description
    T

    The type to look for

    See Also
    PostProcessVolume

    HasSettings(Type)

    Checks if an effect has been added to the profile.

    Declaration
    public bool HasSettings(Type type)
    Parameters
    Type Name Description
    Type type

    The type to look for

    Returns
    Type Description
    bool

    true if the effect exists in the profile, false otherwise

    See Also
    PostProcessVolume

    HasSettings<T>()

    Checks if an effect has been added to the profile.

    Declaration
    public bool HasSettings<T>() where T : PostProcessEffectSettings
    Returns
    Type Description
    bool

    true if the effect exists in the profile, false otherwise

    Type Parameters
    Name Description
    T

    The type to look for

    See Also
    PostProcessVolume

    RemoveSettings(Type)

    Removes settings for an effect from the profile.

    Declaration
    public void RemoveSettings(Type type)
    Parameters
    Type Name Description
    Type type

    The type to look for and remove from the profile

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if the effect doesn't exist in the profile

    See Also
    PostProcessVolume

    RemoveSettings<T>()

    Removes settings for an effect from the profile.

    Declaration
    public void RemoveSettings<T>() where T : PostProcessEffectSettings
    Type Parameters
    Name Description
    T

    The type to look for and remove from the profile

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if the effect doesn't exist in the profile

    See Also
    PostProcessVolume

    TryGetSettings<T>(out T)

    Gets settings for a given effect type.

    Declaration
    public bool TryGetSettings<T>(out T outSetting) where T : PostProcessEffectSettings
    Parameters
    Type Name Description
    T outSetting

    When this method returns, contains the value associated with the specified type, if the type is found; otherwise, this parameter will be null. This parameter is passed uninitialized.

    Returns
    Type Description
    bool

    true if the effect exists in the profile, false otherwise

    Type Parameters
    Name Description
    T

    The type to look for

    See Also
    PostProcessVolume

    See Also

    PostProcessVolume
    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)