Files
CartoonRPG/Library/PackageCache/com.unity.visualeffectgraph@2973a8ac1070/Documentation~/Operator-RectangularToSpherical.md
Caleb Sandford deQuincey 02c4b5ab66 Adding in new packages
2025-06-05 22:59:18 +01:00

18 lines
760 B
Markdown

# Rectangular to Spherical
Menu Path : **Operator > Math > Coordinates**
The **Rectangular to Spherical** Operator performs a 3D coordinate conversion between a rectangular XYZ space to a spherical (theta/phi/distance) space.
## Operator properties
| **Input** | **Type** | **Description** |
| -------------- | -------- | ------------------------ |
| **Coordinate** | Vector3 | The Input 3D coordinate. |
| **Output** | **Type** | **Description** |
| ------------ | -------- | ------------------------------------ |
| **theta** | float | The theta sphere angle (in radians). |
| **phi** | phy | The phi sphere angle (in radians). |
| **distance** | float | The output distance to origin. |