Click or drag to resize

AssimpContextConvertFromFileToBlob(String, String) Method

Converts the model contained in the file to the specified format and save it to a data blob.

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public ExportDataBlob ConvertFromFileToBlob(
	string inputFilename,
	string exportFormatId
)

Parameters

inputFilename  String
Input file name to import
exportFormatId  String
Format id that specifies what format to export to

Return Value

ExportDataBlob
Data blob containing the exported scene in a binary form
Exceptions
ExceptionCondition
AssimpExceptionThrown if there was a general error in importing the model.
FileNotFoundExceptionThrown if the file could not be located.
ObjectDisposedExceptionThrown if the context has already been disposed of.
See Also