docs.unity.cn
    Show / Hide Table of Contents

    Class RenderPipelineGlobalSettingsUI

    UI for global settings

    Inheritance
    Object
    RenderPipelineGlobalSettingsUI
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering
    Syntax
    public static class RenderPipelineGlobalSettingsUI

    Methods

    DrawShaderStrippingSettings(ISerializedRenderPipelineGlobalSettings, Editor, CoreEditorDrawer<ISerializedRenderPipelineGlobalSettings>.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.IDrawer<> additionalShaderStrippingSettings

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

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

    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

    Boolean labelFoldoutExpanded

    Reference parameter indicating whether the foldout is expanded

    Returns
    Type Description
    VolumeProfile

    The volume profile

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023