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 { readonly get; set; }
Property Value
colors
Declaration
public readonly IEnumerable<KeyValuePair<NodeColor, float>> colors { get; }
Property Value
gray
Declaration
public float gray { readonly get; set; }
Property Value
green
Declaration
public float green { readonly get; set; }
Property Value
Item[NodeColor]
Declaration
public float this[NodeColor color] { get; set; }
Parameters
Property Value
normalized
Declaration
public readonly NodeColorMix normalized { get; }
Property Value
orange
Declaration
public float orange { readonly get; set; }
Property Value
purple
Declaration
public float purple { readonly get; set; }
Property Value
red
Declaration
public float red { readonly get; set; }
Property Value
teal
Declaration
public float teal { readonly get; set; }
Property Value
TealReadable
Declaration
public static readonly NodeColorMix TealReadable { get; }
Property Value
yellow
Declaration
public float yellow { readonly 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