Assimp |
The AssimpImporter type exposes the following members.
Name | Description | |
---|---|---|
Dispose | Disposes all unmanaged and managed resources. After calling Dispose, user cannot call any methods on this instance of AssimpImporter. | |
DisposeNativeAssimpScene | Disposes the native assimp scene that was previously importer when PreserveNativeResourcesAfterImporting was true. If PreserveNativeResourcesAfterImporting was false, then the native assimp scene is automatically disposed after importing. | |
Import(String, String) | Import method reads 3D models from the specified file and returns a GroupNode with imported 3D models. When PreserveNativeResourcesAfterImporting is true (false by default) then the native scene is stored into NativeAssimpScene property. | |
Import(Byte, String, String) | Import method reads 3D models from the specified byte array and returns a GroupNode with imported 3D models. When PreserveNativeResourcesAfterImporting is true (false by default) then the native scene is stored into NativeAssimpScene property. To read additional resources that are used by the imported file (for example textures), set the ResolveResourceFunc. | |
Import(Stream, String, String) | Import method reads 3D models from the specified file stream and returns a GroupNode with imported 3D models. When PreserveNativeResourcesAfterImporting is true (false by default) then the native scene is stored into NativeAssimpScene property. To read additional resources that are used by the imported file (for example textures), set the ResolveResourceFunc. | |
ImportFileToNativeAssimpScene(String) |
ImportFileToNativeAssimpScene reads the specified file 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. | |
ImportFileToNativeAssimpScene(Byte, String) |
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. | |
IsImportFormatSupported | Checks if the file extension (e.g. ".dae" or ".obj") is supported for import. |