 |
StandardMeshDumpMeshInitializationCode Method |
Writes string in C# that defines the Vertices and TriangleIndices arrays for this mesh to the console (when the application is debugged in Visual Studio the result is written to Output window or Immediate Window if started from there; in Rider the result is written to Debug Output window).
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic void DumpMeshInitializationCode(
string numberFormatString = "0.########",
bool addIndexAsComment = true
)
Parameters
- numberFormatString String (Optional)
- format string that is used to format vertices values (default value is 0.########)
- addIndexAsComment Boolean (Optional)
- when true then index number is added as a comment at the begging of each code line (default value is true)
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Meshes.StandardMesh.DumpMeshInitializationCode(System.String,System.Boolean)"]
See Also