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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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