Click or drag to resize
Ab4d.SharpEngine logo

StlExporterExport(String, ModelNode, Boolean) Method

Export method exports the mesh from the modelNode to the specified file. If the file already exists, then it is deleted before creating a new one.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public void Export(
	string fileName,
	ModelNode modelNode,
	bool exportModelColor = true
)

Parameters

fileName  String
export file name
modelNode  ModelNode
Mesh to export
exportModelColor  Boolean  (Optional)
when true (by default) then model's color is also exported
See Also