Method CreateTorus
CreateTorus(double, double, int, int, bool)
Create a new torus
Declaration
[HandleProcessCorruptedStateExceptions]
public uint CreateTorus(double majorRadius, double minorRadius, int subdivisionLatitude = 16, int subdivisionLongitude = 16, bool generateUV = true)
Parameters
| Type | Name | Description |
|---|---|---|
| double | majorRadius | Major Radius |
| double | minorRadius | Minor Radius |
| int | subdivisionLatitude | Subdivision of the Torus on the Latitude |
| int | subdivisionLongitude | Subdivision of the Torus on the Longitude |
| bool | generateUV | Generation of the UV |
Returns
| Type | Description |
|---|---|
| uint |