Function AstarMath.IntToColor

IntToColor (int i, float a)

Returns a nice color from int i with alpha a.

Public Static
Color IntToColor (

int

i

float

a

)

Returns a nice color from int i with alpha a.

Got code from the open-source Recast project, works really well. Seems like there are only 64 possible colors from studying the code