Click or drag to resize
Ab4d.SharpEngine logo

TriangleMeshT(T, Int32, BoundingBox, String) Constructor

Constructor that also gets boundingBox.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public TriangleMesh(
	T[] vertices,
	int[]? triangleIndices,
	BoundingBox boundingBox,
	string? name = null
)

Parameters

vertices  T
vertices
triangleIndices  Int32
triangleIndices
boundingBox  BoundingBox
boundingBox
name  String  (Optional)
optional name
Exceptions
ExceptionCondition
ArgumentNullException
See Also