Class CoreRenderPipelinePreferences
Inheritance
CoreRenderPipelinePreferences
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public static class CoreRenderPipelinePreferences
Properties
previewBackgroundColor
Declaration
public static Color previewBackgroundColor { get; }
Property Value
volumeGizmoColor
Declaration
[Obsolete("Use VolumePreferences", false)]
public static Color volumeGizmoColor { get; }
Property Value
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