Home > rc-js-util > Vec4 > setRGBAColor
Signature:
setRGBAColor(_packedRGBA: number, _normalize?: boolean): Vec4<TArray>;
Parameter | Type | Description |
---|---|---|
_packedRGBA | number | The number to be unpacked. |
_normalize | boolean | (Optional) If true, normalize components between 0 - 1. |
Returns:
Vec4<TArray>