 |
ObjExporterExport(Stream, String, ObjExporterExportResourceFunction) Method |
Export the Scene and SceneNodes that ware added by
AddScene(Scene) and
AddSceneNode(SceneNode) into the specified stream.
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.
argument.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic void Export(
Stream stream,
string? fileName,
ObjExporterExportResourceFunction exportResourceFunc
)
Parameters
- stream Stream
- stream into which main model is to be written
- fileName String
- optional file name that is used as default file name for .obj and .mtl files that are sent to exportResourceFunc
- exportResourceFunc ObjExporterExportResourceFunction
- optional implementation of export function for saving texture images
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.ObjExporter.Export(System.IO.Stream,System.String,Ab4d.SharpEngine.Utilities.ObjExporter.ExportResourceFunction)"]
See Also