forked from BilalY/Rasagar
15 lines
800 B
Markdown
15 lines
800 B
Markdown
|
# 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. |
|