Creates new XTorusMesh class instance with the torus parameters.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XTorusMesh(
	float innerRadius,
	float outerRadius,
	int sides,
	int rings,
	float angle
)

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.

See Also