Pushes a <Color> object onto the stack ( at the end ).
int32 Push( Color p_oColor )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Color> | p_oColor | The <Color> object you wish to push onto the stack. |
import library "app_service_console_util.ssl";
import library "type_color_array_util.ssl";
auto Color r = new Color( 1, 1, 1, 255 );
auto Color g = new Color( 2, 2, 2, 255 );
auto Color b = new Color( 3, 3, 3, 255 );
auto ColorArray data;
data.Push( r );
data.Push( g );
data.Push( b );
LibColorArray.Out( data );
COLORARRAY OUTPUT generated by TYPE_COLOR_ARRAY_UTIL.SSL
1,
1,
1,
255,
2,
2,
2,
255,
3,
3,
3,
255