setFromSphericalCoords

fun setFromSphericalCoords(radius: Double, phi: Double, theta: Double): Vector3

Sets the vector components from the spherical coordinates radius, phi (in radians) and theta (in radians).

Return

A reference to this vector.