Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Operator-Volume(Torus).md

16 lines
678 B
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
# 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. |