 |
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.AssimpAssembly: Ab4d.SharpEngine.Assimp (in Ab4d.SharpEngine.Assimp.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic 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
ImportedAssimpFileImportedAssimpFile with native Assimp's Scene object
See Also