Copies the value of the source array into this array.
int32 Copy( ColorArray p_oSource )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<ColorArray> | p_oSource | Pointer to a <ColorArray> containing the values you wish to copy. |
import library "type_color_array_util.ssl";
auto Color red = new Color( 255, 0, 0, 255 );
auto ColorArray a = new ColorArray( 4, red );
auto ColorArray b;
b.Copy( a );
LibColorArray.Out2D( b, 4, 4 );
0, 0, 255, 255,
0, 0, 255, 255,
0, 0, 255, 255,
0, 0, 255, 255