Creates new XTorusMesh class instance with the torus parameters.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
Parameters
- innerRadius
- Type: System..::.Single
Defines the inner radius of the torus.
- outerRadius
- Type: System..::.Single
Defines the outer radius of the torus.
- sides
- Type: System..::.Int32
Defines the number of sides in the transverse cut.
- rings
- Type: System..::.Int32
Defines the number of rings in the torus.
- angle
- Type: System..::.Single
Rotation angle.