npoints VEX function
Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex
-
int npoints(int input_number)(SOP context) Returns the number of points in the input specified, or 0 if there is no input connected.
-
int npoints(string filename)Returns the number of points for all primitives in the geometry file.