Please avoid Array, List, etc as input parameters for native
Posted: Wed Jul 24, 2013 5:41 pm
Please avoid Array, List, etc as input parameters for native functions.
Main reason: It cuts the versatility when using the function.
Examples are: Set/GetMeshData() functions , which use an array as input parameter.
The use a pointer for the vertex sequence instead an Array would make things easier and more versatile for the programmer.
If a pointer is used as input parameter for the funcion there is always the possibility to pass an array, but if using an array as input parameter, then the possibilities are cutted off.
Thanks!!
Main reason: It cuts the versatility when using the function.
Examples are: Set/GetMeshData() functions , which use an array as input parameter.
The use a pointer for the vertex sequence instead an Array would make things easier and more versatile for the programmer.
If a pointer is used as input parameter for the funcion there is always the possibility to pass an array, but if using an array as input parameter, then the possibilities are cutted off.
Thanks!!