docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CoreRenderPipelinePreferences

    Inheritance
    object
    CoreRenderPipelinePreferences
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public static class CoreRenderPipelinePreferences

    Properties

    previewBackgroundColor

    Declaration
    public static Color previewBackgroundColor { get; }
    Property Value
    Type Description
    Color

    volumeGizmoColor

    Declaration
    [Obsolete("Use VolumePreferences", false)]
    public static Color volumeGizmoColor { get; }
    Property Value
    Type Description
    Color

    Methods

    RegisterPreferenceColor(string, Color)

    Adds a UnityEditor.PrefColor into the Preferences > Colors panel./>

    Declaration
    public static Func<Color> RegisterPreferenceColor(string name, Color defaultColor)
    Parameters
    Type Name Description
    string name

    The name the color has in the Colors panel. This is in the format of 'group/name'.

    Color defaultColor

    The initial color to use for the new entry in the Colors panel. This is also the value Unity uses when it resets the colors to their defaults.

    Returns
    Type Description
    Func<Color>
    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)