Exemplo n.º 1
0
        public MathNode(string name) :
            base(ShaderNodeType.Math, name)
        {
            inputs  = new MathInputs(this);
            outputs = new MathOutputs(this);

            Operation        = Operations.Add;
            ins.Value1.Value = 0.0f;
            ins.Value2.Value = 0.0f;
        }
Exemplo n.º 2
0
        public MathNode(string name)
            : base(ShaderNodeType.Math, name)
        {
            inputs = new MathInputs(this);
            outputs = new MathOutputs(this);

            Operation = Operations.Add;
            ins.Value1.Value = 0.0f;
            ins.Value2.Value = 0.0f;
        }