| TYPE | NAME | DESCRIPTION |
|---|---|---|
| INT32 | num_samples | The number of samples to take |
| FLOATARRAY | positions | The list of positions to sample along the gradient |
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| INT32 | array_length | Length of the color_samples array (4 * num_samples) |
| FLOATARRAY | color_samples | Color samples: { R1, G1, B1, A1, ..., Rn, Gn, Bn, An } |