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