resize VEX function

Sets the length of an array.

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

See also: arraylength

  1. void resize(arraytype &array; int size)

If you enlarge the array, intermediate values may be uninitialized (return 0 or "").