矢量旋转节点
![../../../_images/render_shader-nodes_vector_vector-rotate_node.png](../../../_images/render_shader-nodes_vector_vector-rotate_node.png)
Vector Rotate Node.
The Vector Rotate Node provides the ability to rotate a vector around a pivot point (Center).
输入
- 矢量
Vector to be rotated.
- 中心
Point to rotate around.
属性
- 类型
The type of angle input.
- X, Y, Z Axis
Rotates the vector around the defined axis and the amount of rotation is defined by the Angle input.
- 轴向角度
Rotates the vector around an arbitrary axis defined by the Axis input vector. The amount of rotation is defined by the Angle input.
- 欧拉
Rotates the vector about a center point defined by the Center input vector. The amount of rotation on each axis is defined by the Rotation input vector.
- 反转
Inverts the rotation angle.
输出
- 矢量
The rotated vector.
示例
![../../../_images/render_shader-nodes_vector_vector-rotate_example.png](../../../_images/render_shader-nodes_vector_vector-rotate_example.png)
Vector Rotate node example.