 |
StandardMeshGetMeshInitializationCode Method |
Returns a string in C# that defines the Vertices and TriangleIndices arrays for this mesh.
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic string GetMeshInitializationCode(
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)
Return Value
Stringstring in C# that defines the Vertices and TriangleIndices arrays
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Meshes.StandardMesh.GetMeshInitializationCode(System.String,System.Boolean)"]
See Also