initialize::spawnIndex
For a derived element spawned from an emitter, returns the sequential index of the spawn from that emitter. If this was spawned from an EventSource or from the CPU, this value is the index within the current spawn request.
Declaration
int initialize::spawnIndex()