Sets the color data from by values in a packed uint32.
int32 SetData( uint32 p_uValue )
Parameter Type | Parameter Name | Documentation |
---|---|---|
uint32 | p_uValue | The <uint32> value containing the packed bytes. |
auto Color a = new Color( 255, 128, 64, 255 );
uint packed_color = a.GetData();
auto Color b;
b.SetData( packed_color );
Console.Out( LibColor.Out( a ) );
Console.Out( LibColor.Out( b ) );
255, 128, 64, 255
255, 128, 64, 255