UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

52 lines (25 loc) 723 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [Vec4](./rc-js-util.vec4.md) &gt; [getPackedRGBAColor](./rc-js-util.vec4.getpackedrgbacolor.md) ## Vec4.getPackedRGBAColor() method **Signature:** ```typescript getPackedRGBAColor(_normalized?: boolean): number; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> \_normalized </td><td> boolean </td><td> _(Optional)_ Format of the color stored in the Vec4, if true 0 - 1, else 0 - 255. </td></tr> </tbody></table> **Returns:** number