Vector 4

Four numbers with decimals.

A Vector 4 holds four numbers with decimals, called X, Y, Z and W. It is used where four values belong together, such as a color written as numbers. Each of the four is a field of its own that works like a Float: type a value, or drag in the field with the middle mouse button.

Each component can be connected on its own. A single number connected to the whole vector fills all four components. A Vector 2 fills X and Y, a Vector 3 fills X, Y and Z, and the rest are left alone. Connected to a Color, the four numbers become red, green, blue and alpha in that order. A single component can also be linked to a single component.

Keywords: xyzw, rgba, vector