THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/07/2009 at 14:58, xxxxxxxx wrote:
Cinema 4D Version: R10-R11
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
What does this do exactly? The explanation in the SDK docs is a bit terse:
Resizes the array without copying old data (it clears the array), sets the data to 0 (clears data).
Does this mean that it changes the number of elements in the GeDynamicArray and sets the element class members stored within to 0?
In one of my dynamic arrays, there is one class that should always remain there so I was thinking of calling:
// in the library class definition
GeDynamicArray <LibraryCollection*> collections;
// in the library code
To Free() all of the array elements but the static first one. Would this work? :)