Click or drag to resize
Ab4d.SharpEngine logo

ObjExporterExport(String, ObjExporterExportResourceFunction) Method

Export the Scene and SceneNodes that ware added by AddScene(Scene) and AddSceneNode(SceneNode) into the specified obj file. Optional exportResourceFunc can be provided to override the default function for exporting .mtl file (material file) and texture images. The default implementation writes the .mtl file and texture images into the same directory as the model 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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public void Export(
	string fileName,
	ObjExporterExportResourceFunction? exportResourceFunc = null
)

Parameters

fileName  String
model filename
exportResourceFunc  ObjExporterExportResourceFunction  (Optional)
optional implementation of export function for saving texture images
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.ObjExporter.Export(System.String,Ab4d.SharpEngine.Utilities.ObjExporter.ExportResourceFunction)"]

See Also