docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DefaultVolumeProfileSettingsPropertyDrawer

    Base implementation for drawing Default Volume Profile UI in Graphics Settings.

    Inheritance
    object
    GUIDrawer
    PropertyDrawer
    DefaultVolumeProfileSettingsPropertyDrawer
    Inherited Members
    PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent)
    PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)
    PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
    PropertyDrawer.attribute
    PropertyDrawer.fieldInfo
    PropertyDrawer.preferredLabel
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public abstract class DefaultVolumeProfileSettingsPropertyDrawer : PropertyDrawer

    Fields

    k_DefaultVolumeLabelWidth

    Default Volume Profile label width

    Declaration
    protected const int k_DefaultVolumeLabelWidth = 260
    Field Value
    Type Description
    int

    m_DefaultVolumeProfileFoldoutExpanded

    Foldout state

    Declaration
    protected EditorPrefBool m_DefaultVolumeProfileFoldoutExpanded
    Field Value
    Type Description
    EditorPrefBool

    m_EditorContainer

    VisualElement containing the DefaultVolumeProfileEditor

    Declaration
    protected VisualElement m_EditorContainer
    Field Value
    Type Description
    VisualElement

    m_SettingsSerializedObject

    SerializedObject representing the settings object

    Declaration
    protected SerializedObject m_SettingsSerializedObject
    Field Value
    Type Description
    SerializedObject

    m_VolumeProfileSerializedProperty

    SerializedProperty representing the Default Volume Profile

    Declaration
    protected SerializedProperty m_VolumeProfileSerializedProperty
    Field Value
    Type Description
    SerializedProperty

    Properties

    volumeInfoBoxLabel

    Info box message

    Declaration
    protected abstract GUIContent volumeInfoBoxLabel { get; }
    Property Value
    Type Description
    GUIContent

    Methods

    CreateAssetFieldUI()

    Implementation of the Default Volume Profile asset field.

    Declaration
    protected abstract VisualElement CreateAssetFieldUI()
    Returns
    Type Description
    VisualElement

    VisualElement containing the UI

    CreateDefaultVolumeProfileEditor()

    Creates the Default Volume Profile editor.

    Declaration
    protected void CreateDefaultVolumeProfileEditor()

    CreateHeader()

    Creates the header for the Volume Profile editor.

    Declaration
    protected virtual VisualElement CreateHeader()
    Returns
    Type Description
    VisualElement

    VisualElement containing the header. Null for no header.

    CreatePropertyGUI(SerializedProperty)

    CreatePropertyGUI implementation.

    Declaration
    public override VisualElement CreatePropertyGUI(SerializedProperty property)
    Parameters
    Type Name Description
    SerializedProperty property

    Property to create UI for

    Returns
    Type Description
    VisualElement

    VisualElement containing the created UI

    Overrides
    PropertyDrawer.CreatePropertyGUI(SerializedProperty)

    DestroyDefaultVolumeProfileEditor()

    Destroys the Default Volume Profile editor.

    Declaration
    protected void DestroyDefaultVolumeProfileEditor()

    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)