Struct NodeColorMix
Syntax
public struct NodeColorMix : IEnumerable<KeyValuePair<NodeColor, float>>, IEnumerable
Constructors
NodeColorMix(NodeColor)
Declaration
public NodeColorMix(NodeColor color)
Parameters
Properties
blue
Declaration
public float blue { get; set; }
Property Value
colors
Declaration
public IEnumerable<KeyValuePair<NodeColor, float>> colors { get; }
Property Value
gray
Declaration
public float gray { get; set; }
Property Value
green
Declaration
public float green { get; set; }
Property Value
Item[NodeColor]
Declaration
public float this[NodeColor color] { get; set; }
Parameters
Property Value
normalized
Declaration
public NodeColorMix normalized { get; }
Property Value
orange
Declaration
public float orange { get; set; }
Property Value
red
Declaration
public float red { get; set; }
Property Value
teal
Declaration
public float teal { get; set; }
Property Value
TealReadable
Declaration
public static NodeColorMix TealReadable { get; }
Property Value
yellow
Declaration
public float yellow { get; set; }
Property Value
Methods
GetEnumerator()
Declaration
public IEnumerator<KeyValuePair<NodeColor, float>> GetEnumerator()
Returns
IsPure(NodeColor)
Declaration
public bool IsPure(NodeColor color)
Parameters
Returns
Normalize()
Declaration
PopulateColorsList(List<KeyValuePair<NodeColor, Single>>)
Declaration
public void PopulateColorsList(List<KeyValuePair<NodeColor, float>> list)
Parameters
Operators
Implicit(NodeColor to NodeColorMix)
Declaration
public static implicit operator NodeColorMix(NodeColor color)
Parameters
Returns
Extension Methods