W3cubDocs

/Godot 3.2

VisualShaderNodeOuterProduct

Inherits: VisualShaderNode < Resource < Reference < Object

Calculates an outer product of two vectors within the visual shader graph.

Description

OuterProduct treats the first parameter c as a column vector (matrix with one column) and the second parameter r as a row vector (matrix with one row) and does a linear algebraic matrix multiply c * r, yielding a matrix whose number of rows is the number of components in c and whose number of columns is the number of components in r.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualshadernodeouterproduct.html