Torus Constructor

Initializes a new instance of the PrimitiveSurface class.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public Torus(
	IEnumerable<PolygonalFace> faces
)
Public Sub New ( _
	faces As IEnumerable(Of PolygonalFace) _
)
public:
Torus(
	IEnumerable<PolygonalFace^>^ faces
)

Parameters

faces
Type: IEnumerable<(Of <(<'PolygonalFace>)>)>
The faces.