THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/05/2012 at 13:25, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C++ ;
Can anyone show me an example of how to write a GeDynamicArrayCallback?
I'd like to use the DoToAll() function on a dynamic array. But I don't know how to write the CallBack it's asking for.
int arrsize = 3; //Size of the array to make GeDynamicArray<LONG>myarray(arrsize); //Create the new array myarray = 100; //Assign some data to an element myarray = 200; //Assign some data to an element myarray = 300; //Assign some data to an element myarray.DoToAll(); //<---How do I write this function?