TessellatedSolid Constructor (IList<(Of <(<'PolygonalFace>)>)>, IList<(Of <(<'Vertex>)>)>, IList<(Of <(<'Color>)>)>, UnitType, String, String, List<(Of <(<'String>)>)>, String)

Initializes a new instance of the TessellatedSolid class. This constructor is for cases in which the faces and vertices are already defined.

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

Syntax


public TessellatedSolid(
	IList<PolygonalFace> faces,
	IList<Vertex> vertices,
	IList<Color> colors,
	UnitType units,
	string name,
	string filename,
	List<string> comments,
	string language
)
Public Sub New ( _
	faces As IList(Of PolygonalFace), _
	vertices As IList(Of Vertex), _
	colors As IList(Of Color), _
	units As UnitType, _
	name As String, _
	filename As String, _
	comments As List(Of String), _
	language As String _
)
public:
TessellatedSolid(
	IList<PolygonalFace^>^ faces, 
	IList<Vertex^>^ vertices, 
	IList<Color^>^ colors, 
	UnitType^ units, 
	String^ name, 
	String^ filename, 
	List<String^>^ comments, 
	String^ language
)

Parameters

faces
Type: IList<(Of <(<'PolygonalFace>)>)>
The faces.
vertices
Type: IList<(Of <(<'Vertex>)>)>
The vertices.
colors
Type: IList<(Of <(<'Color>)>)>
The colors.
units
Type: TVGL..::..UnitType
The units.
name
Type: String
The name.
filename
Type: String
The filename.
comments
Type: List<(Of <(<'String>)>)>
The comments.
language
Type: String
The language.