Beispiel #1
0
 /// <summary>
 /// Create a ColorNode with name
 /// </summary>
 /// <param name="name"></param>
 public ColorNode(string name)
     : base(ShaderNodeType.Color, name)
 {
     inputs = null;
     outputs = new ColorOutputs(this);
     Value = new float4(0.8f);
 }
Beispiel #2
0
 /// <summary>
 /// Create a ColorNode with name
 /// </summary>
 /// <param name="name"></param>
 public ColorNode(string name) :
     base(ShaderNodeType.Color, name)
 {
     inputs  = null;
     outputs = new ColorOutputs(this);
     Value   = new float4(0.8f);
 }