Converts the given object to a Vector3 instance.
The object to convert.
Optional
The y component of the vector. Default is 0.
The z component of the vector. Default is 0.
A new Vector3 instance representing the given object.
Converts the given object to a Vector3 instance.