Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Torus).md
2024-08-26 23:07:20 +03:00

16 lines
678 B
Markdown

# Volume (Torus)
Menu Path : **Operator > Math > Geometry > Volume (Torus)**
The **Volume (Torus)** Operator calculates the volume of a torus. This is equal to **2 π<sup>2</sup> R r<sup>2</sup>** where **R** is the major radius and **r** is the minor radius.
## Operator properties
| **Input** | **Type** | **Description** |
| --------- | -------- | ------------------------------------------------- |
| **Torus** | Torus | The torus this Operator calculates the volume of. |
| **Output** | **Type** | **Description** |
| ---------- | -------- | ------------------------ |
| **Volume** | float | The volume of the torus. |