Sets the size of the vector.
Same as the following code:
Calling the Size method does not preserve the contents of the vector. Use the Resize method, if you want to preserve existing values.
Existing floating point precision is preserved.
Size Method