Sets the component at index (0 = x, 1 = y, 2 = z) to value.
0
1
2
A reference to this vector.
if index is out of range.