Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Operator-Pi.md

15 lines
800 B
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
# Pi (π)
Menu Path : **Operator > Math > Constants > Pi (π)**
The **Pi (π)** Operator returns the number Pi (π). This is the ratio of the circumference of a circle to its diameter.
## Operator properties
| **Output** | **Type** | **Description** |
| ---------- | -------- | ------------------------------------------------------------ |
| **π** | float | The value of Pi. This is the same value as [Mathf.PI](https://docs.unity3d.com/ScriptReference/Mathf.PI.html). |
| **2π** | float | The result of 2 * Pi. |
| **π/2** | float | The result of Pi / 2. |
| **π/3** | float | The result of Pi / 3. |