Contents

group::elementActiveInGroup

Returns the number of currently active elements in the group.

Declaration

int group::elementActiveInGroup()

Return Value

The count of active elements currently in the group

Discussion

Use this function to determine how many particles are currently alive in the group, which may be less than the maximum if some particles have expired or not yet spawned.