Check out example codes for "vector 3 float". It will help you in understanding the concepts better.

Code Example 1

new Vector3(0.14f, 6.37f, -8.17f)

Learn ReactJs, React Native from akashmittal.com