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

Mesh Morpher documentation

Vec4 Length

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

Studio and Graph › Voxel › Math

Vec4 Length

Magnitude of a 4D vector.

Vec4 Length node

The Vec4 Length node

When to use it

Magnitude of a 4D vector.

On an RGBA colour this pulls alpha into the magnitude, so what comes back is not a brightness. Take the RGB as a Vec3 if brightness is what you wanted.

Pins

Pin Type Description
X Number X component of the input vector.
Y Number Y component of the input vector.
Z Number Z component of the input vector.
W Number W component of the input vector.
Pin Type Description
Length Number How long the vector is.