Docs

Vec4 Scale

Multiplies a 4D vector by a scalar.

Vec4 Scale node

The Vec4 Scale node

When to use it

Multiplies a 4D vector by a scalar.

On an RGBA colour that scales the alpha too, which is almost never what anyone meant. Halve a colour and it comes back half transparent as well as half as bright. Scale the RGB as a Vec3 and carry alpha separately.

Pins

Pin Type Description
VX Number V X component.
VY Number V Y component.
VZ Number V Z component.
VW Number V W component.
Scale Number One number that multiplies every part of the vector.
Pin Type Description
X Number The result's X component.
Y Number The result's Y component.
Z Number The result's Z component.
W Number The result's W component.