ColorArray Data Member Function

The <ColorArray> constructor.

Prototype

ColorArray ColorArray( int32 p_nCount, Color p_oColor )

Parameters

Parameter Type Parameter Name Documentation
int32p_nCountThe desired array count.
<Color>p_oColorA pointer to a <Color> object used to set the initial value of all the items in the <ColorArray>.

Examples

Copy Text To Clipboard

import library "app_service_console_util.ssl";
import library "type_color_array_util.ssl";

auto Color src = new Color( 0, 32, 128, 255 );
Console.Out( src.X + ", " + src.Y + ", " + src.Z + ", " + src.W );

Results

0, 32, 128, 255