Click or drag to resize
Ab4d.SharpEngine logo

PositionsMeshGetDetailsText Method

GetDetailsText method gets string with values of individual vertices and triangle indices of this mesh.

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

Parameters

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)

Return Value

String
string with values of individual vertices and triangle indices
See Also