length VEX function

Returns the length of the vector or vector4.

Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex

See also: length2

  1. float length(vector )

  2. float length(vector4 )

Returns the length of the vector or vector4.