ARGB Colors?
#1

Hey is there anny place I can find the colors for the SetObjectMaterialText thing?


Thanks.
Reply
#2

There really isnt a place that I know of. However if you follow this, You can figure out how to convert it easily.

Quote:
Originally Posted by Amit_B
Посмотреть сообщение
ARGB Format

Colors we use in most of functions are defined as RGBA format colors. Its because when reading them as hexadecimal colors, we'll read them as 0xRRGGBBAA.
It means, that 0xFF0000FF will be red; R = red, G = green, B = blue and A = alpha, their values can be between 0 and 255. 00 is 0, and FF is 255. The meaning of 0xFF0000FF is 255 red, 0 green, 0 blue and 255 alpha (so the color will be visible).

Both the new functions requires ARGB format color, it means AARRGGBB. So a red color, that was 0xFF0000FF, will be now 0xFFFF0000. That's how you can turn the colors defined in your script into ARGB format colors for materials.
Reply
#3

Use this color generator if you want some color.It's really easy that way
Reply
#4

Thank you both.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)