Print view · Vec4 Subtract · 1 pageChoose "Save as PDF" as the destination in the print dialog.
Back to the docs

Mesh Morpher documentation

Vec4 Subtract

1 page · exported 2026-09-06 · https://meshmorpher.com/docs/studio-and-graph/voxel/math/vec4-subtract

Studio and Graph › Voxel › Math

Vec4 Subtract

Component-wise A minus B on two 4D vectors.

Vec4 Subtract node

The Vec4 Subtract node

When to use it

Component-wise A minus B on two 4D vectors.

Most useful on colours. Subtracting positions in 4D means carrying a W you probably do not want.

Pins

Pin Type Description
AX Number A X component.
AY Number A Y component.
AZ Number A Z component.
AW Number A W component.
BX Number B X component.
BY Number B Y component.
BZ Number B Z component.
BW Number B W component.
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.