Assigns the right-hand object to the left-hand object.
int32 Assign( Color rhs )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Color> | rhs | A pointer to the right-hand object. |
auto Color a = new Color( 255, 0, 0, 255 );
auto Color b;
b.Assign( a ); // Now b has the same values as a.