function
ToRGBM([_array[, _index]])
Encodes the color into RGBM format, ignoring the alpha channel.
Name | Type | Description |
---|---|---|
_array | Array<Real>/Undefined |
The array to output the values to. If undefined , then a new one is created. |
_index | Real |
The index to start writing the values to. Defaults to 0. |
Array<Real>
Returns the array with RGBM values.
Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.