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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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