docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VolumeProfile

    An Asset which holds a set of settings to use with a Volume.

    Inheritance
    object
    Object
    ScriptableObject
    VolumeProfile
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    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.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [CoreRPHelpURL("Volume-Profile", "com.unity.render-pipelines.high-definition")]
    [Icon("Packages/com.unity.render-pipelines.core/Editor/Icons/Processed/VolumeProfile Icon.asset")]
    public sealed class VolumeProfile : ScriptableObject

    Fields

    Name Description
    components

    A list of every setting that this Volume Profile stores.

    isDirty

    Note: For Internal Use Only
    A dirty check used to redraw the profile inspector when something has changed. This is currently only used in the editor.

    Methods

    Name Description
    Add(Type, bool)

    Adds a VolumeComponent to this Volume Profile.

    Add<T>(bool)

    Adds a VolumeComponent to this Volume Profile.

    GetHashCode()

    A custom hashing function that Unity uses to compare the state of parameters.

    Has(Type)

    Checks if this Volume Profile contains the VolumeComponent you pass in.

    HasSubclassOf(Type)

    Checks if this Volume Profile contains the VolumeComponent, which is a subclass of type, that you pass in.

    Has<T>()

    Checks if this Volume Profile contains the VolumeComponent you pass in.

    Remove(Type)

    Removes a VolumeComponent from this Volume Profile.

    Remove<T>()

    Removes a VolumeComponent from this Volume Profile.

    Reset()

    Resets the dirty state of the Volume Profile. Unity uses this to force-refresh and redraw the Volume Profile editor when you modify the Asset via script instead of the Inspector.

    TryGetAllSubclassOf<T>(Type, List<T>)

    Gets all the VolumeComponent that are subclasses of the specified type, if there are any.

    TryGetSubclassOf<T>(Type, out T)

    Gets the VolumeComponent, which is a subclass of type, if it exists.

    TryGet<T>(Type, out T)

    Gets the VolumeComponent of the specified type, if it exists.

    TryGet<T>(out T)

    Gets the VolumeComponent of the specified type, if it exists.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)