Returns a pointer to this object. The pointer object is allocated with new so you must use auto in the declaration or you must manually delete the pointer object. For example: auto Uint8Pointer ptr = object.GetPointer().
Uint8Pointer GetPointer()
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 ); // Pointer to first component of first array element of the array. auto Uint8Pointer ptr = data.GetPointer();
Results
0, 0, 255, 255