Cross Operator
交叉算子
Basic 基础Node 节点Parameter 参数Cross Operator
交叉算子
Outputs the cross product of two input vectors.
输出两个输入向量的叉积。
The cross product creates a vector perpendicular to the plane of the two input vectors. For example, you can use this node to calculate the surface Normals of polygons yourself. Choose the node’s data type in the Attribute Manager.
叉积产生一个垂直于两个输入向量平面的向量。例如,您可以使用此节点自己计算多边形的表面法线。在属性管理器中选择节点的数据类型。

The direction of the output vector depends on the direction of the plane between the two input vectors, but not on its length. Hence you may need to normalize the output vector (for this, use a Universal adapter node and set its Data Type to Normal). In other words, you may need to set the length of the output vector to 1.
输出向量的方向取决于两个输入向量之间平面的方向,而不取决于其长度。因此,您可能需要规范化输出向量(为此,使用通用适配器节点并将其数据类型设置为 Normal)。换句话说,您可能需要将输出向量的长度设置为1。
Tip: 提示:The order of the input vectors affects the direction of the output vector. If you swap the input vectors around, the output vector will point in the opposite direction. 输入矢量的顺序影响输出矢量的方向。如果你交换周围的输入向量,输出向量将指向相反的方向