Class CoreRenderPipelinePreferences
Inherited Members
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 Unity
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. |