docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DefaultVolumeProfileEditor

    Editor for the Default Volume Profile

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

    Constructors

    DefaultVolumeProfileEditor(Editor, VolumeProfile)

    Constructor

    Declaration
    [Obsolete("Use DefaultVolumeProfileEditor(VolumeProfile, SerializedObject) instead. #from(23.3)")]
    public DefaultVolumeProfileEditor(Editor baseEditor, VolumeProfile profile)
    Parameters
    Type Name Description
    Editor baseEditor

    Editor that displays the content of this class

    VolumeProfile profile

    VolumeProfile to display

    DefaultVolumeProfileEditor(VolumeProfile, SerializedObject)

    Constructor

    Declaration
    public DefaultVolumeProfileEditor(VolumeProfile profile, SerializedObject targetSerializedObject)
    Parameters
    Type Name Description
    VolumeProfile profile

    VolumeProfile to display

    SerializedObject targetSerializedObject

    Target serialized object to update when the default volume profile changes

    Properties

    allEditors

    List of all VolumeComponentEditors

    Declaration
    public List<VolumeComponentEditor> allEditors { get; }
    Property Value
    Type Description
    List<VolumeComponentEditor>

    Methods

    Create()

    Create the visual hierarchy

    Declaration
    public VisualElement Create()
    Returns
    Type Description
    VisualElement

    Root element of the visual hierarchy

    Destroy()

    Destroy all Editors owned by this class

    Declaration
    public void Destroy()

    RebuildListViews()

    Rebuild all ListViews to force them to update their expanded state.

    Declaration
    public void RebuildListViews()

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 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)