The x / y / z / start / end values ββare the memory allocation indices that the script calculation is working on. The structure may restrict the rsForEach call to the distribution subregion.
For example, to highlight 640x480, you can define xStart = 100; xEnd = 200; yStart = 100; yEnd = 200. Then the foreach call will be launched in the distribution area 100x100.
ArrayStart and arrayEnd are not currently used right now, but are defined for a future version that will support array sizes in distributions.
The default values ββare undefined, you need to define your own values ββin the structure. If you are not using a structure, the rsForEach call will work in the entire memory allocation.
There is a known bug that crashes when using this in Honeycomb, so this may be your problem. It has been fixed in ICS.
source share