Пример #1
0
        public MatrixMathNode(string name) :
            base(ShaderNodeType.MatrixMath, name)
        {
            inputs  = new MatrixMathInputs(this);
            outputs = new MatrixMathOutputs(this);

            Operation = Operations.Point;

            ins.Vector.Value = new float4(0.0f);
        }
Пример #2
0
        public MatrixMathNode(string name)
            : base(ShaderNodeType.MatrixMath, name)
        {
            inputs = new MatrixMathInputs(this);
            outputs = new MatrixMathOutputs(this);

            Operation = Operations.Point;

            ins.Vector.Value = new float4(0.0f);
        }