Saves the XMaterialMesh mesh to the DirectX (.x) file fileName.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public void SaveToXFile(
	string fileName,
	XFileFormat format,
	bool saveTextures,
	bool copy
)

Parameters

fileName
Type: System..::.String
File name.
format
Type: XFileFormat
The X file format.
saveTextures
Type: System..::.Boolean
Defines whether the textures will be saved to the files.
copy
Type: System..::.Boolean
Save the texture copies.

See Also