Calculates the volume primitive’s gradient.
vector volumegradient(int inputnum, int primnum, vector pos)vector volumegradient(string filename, int primnum, vector pos)
Calculates the volume primitive’s gradient. Returns 0 if there is no input or file, or the primitive number is out of range. The gradient is a vector pointing in the direction of increasing value.