Vector Rotate Node

Vector Rotate Node.

The Vector Rotate Node provides the ability to rotate a vector around a pivot point (Center).

Inputs (Inputs)

Vector (Vector)

Vector to be rotated.

Center

Point to rotate around.

Axis (As)

Axis to rotate around.

Angle

Angle to rotate the input vector by.

Rotation (Rotatie)

When Type is set to Euler, rotate the input vector by these angles around the X, Y, then Z axes in that order.

Properties (Eigenschappen)

Type (Type)

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.

Axis Angle (Rotatiehoek):

Rotates the vector around an arbitrary axis defined by the Axis input vector. The amount of rotation is defined by the Angle input.

Euler:

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.

Invert

Inverts the rotation angle.

Outputs (Outputs)

Vector (Vector)

The rotated vector.

Examples (Voorbeelden)

../../../../_images/render_shader-nodes_vector_vector-rotate_example.png

Vector Rotate node example.