js-util

Home > rc-js-util > Vec4 > getPackedRGBAColor

Vec4.getPackedRGBAColor() method

Signature:

getPackedRGBAColor(_normalized?: boolean): number;

Parameters

Parameter Type Description
_normalized boolean (Optional) Format of the color stored in the Vec4, if true 0 - 1, else 0 - 255.

Returns:

number