Click or drag to resize
Ab4d.SharpEngine logo

ModelNodeDumpMesh Method

Dumps an overview of the mesh and values of individual vertices and triangle indices into the Visual Studio Output window.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public void DumpMesh(
	bool showOverview = true,
	bool showVertices = true,
	bool showTriangleIndices = true,
	bool showTriangles = true,
	int maxVerticesCount = 100,
	int maxTriangleIndicesCount = 300,
	int maxTrianglesCount = 100
)

Parameters

showOverview  Boolean  (Optional)
when true (by default) then overview of the mesh is shown
showVertices  Boolean  (Optional)
when true (by default) then values if individual vertices is shown
showTriangleIndices  Boolean  (Optional)
when true (by default) then values if individual triangle indices is shown
showTriangles  Boolean  (Optional)
when true (false by default) then vertices information are shown ordered by triangle indices (e.g. first vertex values for first triangle are shows, then values for second triangle are shown, etc.)
maxVerticesCount  Int32  (Optional)
when bigger than 0 then the number of shown vertices is limited to this number (100 by default)
maxTriangleIndicesCount  Int32  (Optional)
when bigger than 0 then the number of shown triangle indices is limited to this number (300 by default - showing 100 triangles)
maxTrianglesCount  Int32  (Optional)
when bigger than 0 then the number of shown triangles is limited to this number (100 by default)
See Also