Click or drag to resize

AssimpLibraryImportFileFromStream Method

Imports a scene from a stream. This uses the "aiImportFileFromMemory" function. The stream can be from anyplace, not just a memory stream. It is up to the caller to dispose of the stream.

Namespace: Internal.Assimp.Unmanaged
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public IntPtr ImportFileFromStream(
	Stream stream,
	PostProcessSteps flags,
	string formatHint,
	IntPtr propStore
)

Parameters

stream  Stream
Stream containing the scene data
flags  PostProcessSteps
Post processing flags
formatHint  String
A hint to Assimp to decide which importer to use to process the data
propStore  IntPtr
Property store containing the config name-values, may be null.

Return Value

IntPtr
Pointer to the unmanaged data structure.
See Also