x | X-coord of the top-left corner of the rectangle to grab. |
y | Y-coord of the top-left corner of the rectangle to grab. |
blockWidth | Width of rectangle to grab. |
blockHeight | Height of the rectangle to grab. Get the pixel values from a rectangular area of a ProceduralTexture into an array. The block is specified by its x,y offset in the texture and by its width and height. The block is "flattened" into the array by scanning the pixel values across rows one by one. |
Grab pixel values from a ProceduralTexture.