Click or drag to resize
AB4D logo

DumperGetMeshInitializationCode(Geometry3D, String) Method

Returns string with the C# code that can be used to create the geometry.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static string GetMeshInitializationCode(
	Geometry3D geometry,
	string valuesStringFormat
)

Parameters

geometry  Geometry3D
mesh as MeshGeometry3D
valuesStringFormat  String
string format to display values: for example "0.00" to show only 2 decimals; "" to show all decimals; "0" - no decimals

Return Value

String
C# code that can be used to create the geometry
See Also