File: vector_rotate.rst

package info (click to toggle)
blender-doc 4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 253,604 kB
  • sloc: python: 13,030; javascript: 322; makefile: 113; sh: 107
file content (71 lines) | stat: -rw-r--r-- 1,509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.. _bpy.types.ShaderNodeVectorRotate:

.. Editor's Note: This page gets copied into:
.. - :doc:`</modeling/geometry_nodes/utilities/vector/vector_rotate>`

.. --- copy below this line ---

******************
Vector Rotate Node
******************

.. figure:: /images/node-types_ShaderNodeVectorRotate.png
   :align: center
   :alt: Vector Rotate Node.

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


Inputs
======

Vector
   Vector to be rotated.

Center
   Point to rotate around.

Axis
   Axis to rotate around.

Angle
   Angle to rotate the input vector by.

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


Properties
==========

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:
      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
=======

Vector
   The rotated vector.


Examples
========

.. figure:: /images/render_shader-nodes_vector_vector-rotate_example.png
   :align: right

   Vector Rotate node example.