Returns a pointer to the first object in the array or returns nullptr if the array is empty.
Color GetFirst()
import library "app_service_console_util.ssl"; auto Color r = new Color( 255, 0, 0, 255 ); auto Color g = new Color( 0, 255, 0, 255 ); auto Color b = new Color( 0, 0, 255, 255 ); auto ColorArray data; data.Add( r ); data.Add( g ); data.Add( b ); Color x = data.GetFirst(); Console.Out( LibColor.Out( x ) );
Results
255, 0, 0, 255