Click or drag to resize
Ab4d.SharpEngine logo

AssimpImporterImportFileToNativeAssimpScene(Byte, String) Method

ImportFileToNativeAssimpScene reads the specified byte array and returns ImportedAssimpFile with native Assimp's Scene object. Assimp's Scene object can be manually converted into SceneNodes by using AssimpConverter class. This method does not change the

NativeAssimpScene

property.

Namespace: Ab4d.SharpEngine.Assimp
Assembly: Ab4d.SharpEngine.Assimp (in Ab4d.SharpEngine.Assimp.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public ImportedAssimpFile? ImportFileToNativeAssimpScene(
	byte[] fileContent,
	string formatHint
)

Parameters

fileContent  Byte
file content as byte array
formatHint  String
file extension to serve as a hint to Assimp to choose which importer to use - for example ".dae"

Return Value

ImportedAssimpFile
ImportedAssimpFile with native Assimp's Scene object
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Assimp.AssimpImporter.ImportFileToNativeAssimpScene(System.Byte[],System.String)"]

See Also