ToRGBM

function

ToRGBM([_array[, _index]])

Description

Encodes the color into RGBM format, ignoring the alpha channel.

Arguments

Name Type Description
_array Array<Real> 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.

Returns

Array<Real> Returns the array with RGBM values.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.