How about this, pass a string as a the parameter and divide the string into X Y Z using a divider.
Solution 1 : Input : 34.5|56.05|23.67
Solution 2: Input X_34.5|Y_56.05|Z_23.67
Solution 3: Input: 34.5 56.05 23.67 // Divide by space character
I will parse the values based on the position of ‘|’ and make a vector out of the 3 floats that i just parsed