Class ColorControl
Implements
Inherited Members
Namespace: UnityEditor.ShaderGraph
Assembly: Unity.ShaderGraph.Editor.dll
Syntax
public class ColorControl : IControl
Constructors
ColorControl(Color, bool)
Declaration
public ColorControl(Color value, bool hdr)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | value | |
| bool | hdr |
Properties
hdr
Declaration
public bool hdr { get; }
Property Value
| Type | Description |
|---|---|
| bool |
value
Declaration
public Color value { get; }
Property Value
| Type | Description |
|---|---|
| Color |
Methods
GetRequirements()
Declaration
public ShaderGraphRequirements GetRequirements()
Returns
| Type | Description |
|---|---|
| ShaderGraphRequirements |