Click or drag to resize

AssimpContextExportFile(Scene, String, String) Method

Exports a scene to the specified format and writes it to a file.

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public bool ExportFile(
	Scene scene,
	string fileName,
	string exportFormatId
)

Parameters

scene  Scene
Scene containing the model to export.
fileName  String
Path to the file.
exportFormatId  String
FormatID representing the format to export to.

Return Value

Boolean
True if the scene was exported successfully, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the scene is null.
ObjectDisposedExceptionThrown if the context has already been disposed of.
See Also