docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RenderPipelineGlobalSettingsUI

    UI for global settings

    Inheritance
    object
    RenderPipelineGlobalSettingsUI
    Inherited Members
    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 static class RenderPipelineGlobalSettingsUI

    Methods

    DrawShaderStrippingSettings(ISerializedRenderPipelineGlobalSettings, Editor, IDrawer)

    Draws the shader stripping settinsg

    Declaration
    [Obsolete("Use ShaderStrippingSettings instead. #from(23.2).")]
    public static void DrawShaderStrippingSettings(ISerializedRenderPipelineGlobalSettings serialized, Editor owner, CoreEditorDrawer<ISerializedRenderPipelineGlobalSettings>.IDrawer additionalShaderStrippingSettings = null)
    Parameters
    Type Name Description
    ISerializedRenderPipelineGlobalSettings serialized

    The serialized global settings

    Editor owner

    The owner editor

    CoreEditorDrawer<ISerializedRenderPipelineGlobalSettings>.IDrawer additionalShaderStrippingSettings

    Pass another drawer if you want to specify additional shader stripping settings

    DrawVolumeProfileAssetField(SerializedProperty, GUIContent, Func<VolumeProfile>, ref bool)

    Draw Volume Profile property field with a foldout scope that ensures that the target cannot become null.

    Declaration
    public static VolumeProfile DrawVolumeProfileAssetField(SerializedProperty volumeProfileSerializedProperty, GUIContent volumeProfileLabel, Func<VolumeProfile> getOrCreateVolumeProfile, ref bool labelFoldoutExpanded)
    Parameters
    Type Name Description
    SerializedProperty volumeProfileSerializedProperty

    Target serialized property

    GUIContent volumeProfileLabel

    Label for the property field

    Func<VolumeProfile> getOrCreateVolumeProfile

    Callback that creates and returns a valid Volume Profile

    bool labelFoldoutExpanded

    Reference parameter indicating whether the foldout is expanded

    Returns
    Type Description
    VolumeProfile

    The volume profile

    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)