ingroup VEX function

Returns 1 if the particle specified by the point number is in the group specified by the string.

Contexts: pop, sop

  1. int ingroup(string group_name, int point_number)

Returns 1 if the particle specified by the point number is in the group specified by the string. This function returns 0 if the group doesn’t exist or the point is not contained in the group.