Assimp |
public sealed class AssimpLibrary : UnmanagedLibrary
The AssimpLibrary type exposes the following members.
| Name | Description | |
|---|---|---|
| DefaultLibraryName |
Gets the default name of the unmanaged library DLL. This is dependent based on the platform extension and name prefix. Additional
names can be set in the UnmanagedLibraryResolver (e.g. to load versioned DLLs)
(Inherited from UnmanagedLibrary) | |
| Instance | Gets the AssimpLibrary instance. | |
| IsLibraryLoaded |
Queries if the unmanaged library has been loaded or not.
(Inherited from UnmanagedLibrary) | |
| IsMultithreadingSupported | Gets if the Assimp unmanaged library supports multithreading. If it was compiled for single threading only, then it will not utilize multiple threads during import. | |
| LibraryPath |
Gets the path to the unmanaged library DLL that is currently loaded.
(Inherited from UnmanagedLibrary) | |
| Resolver |
Gets the resolver used to find the unmanaged library DLL when loading.
(Inherited from UnmanagedLibrary) | |
| ThrowOnLoadFailure |
Gets or sets whether an AssimpException is thrown if the unmanaged DLL fails to load for whatever reason. By
default this is true.
(Inherited from UnmanagedLibrary) |
| Name | Description | |
|---|---|---|
| ApplyPostProcessing | Applies a post-processing step on an already imported scene. | |
| AttachLogStream | Attaches a log stream callback to catch Assimp messages. | |
| CopyScene | Creates a modifyable copy of a scene, useful for copying the scene that was imported so its topology can be modified and the scene be exported. | |
| CreatePropertyStore | Create an empty property store. Property stores are used to collect import settings. | |
| DetachAllLogStreams | Detaches all logstream callbacks currently attached to Assimp. | |
| DetachLogStream | Detaches a logstream callback. | |
| EnableVerboseLogging | Enables verbose logging. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| ExportScene(IntPtr, String, String, PostProcessSteps) | Exports the given scene to a chosen file format and writes the result file(s) to disk. | |
| ExportScene(IntPtr, String, String, IntPtr, PostProcessSteps) | Exports the given scene to a chosen file format and writes the result file(s) to disk. | |
| ExportSceneToBlob | Exports the given scene to a chosen file format. Returns the exported data as a binary blob which you can embed into another data structure or file. | |
| FreeLibrary |
Frees the unmanaged library that is currently loaded.
(Inherited from UnmanagedLibrary) | |
| GetBranchName | Returns the branchname of the Assimp runtime. | |
| GetCompileFlags | Get the compilation flags that describe how the native Assimp DLL was compiled. | |
| GetEmbeddedTexture | Gets an embedded texture. | |
| GetErrorString | Gets the last error logged in Assimp. | |
| GetExportFormatDescriptions | Gets all supported export formats. | |
| GetExtensionList | Gets all the model format extensions that are currently supported by Assimp. | |
| GetFunctionT |
Gets a delegate based on the unmanaged function name.
(Inherited from UnmanagedLibrary) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetImporterDescriptions | Gets a collection of importer descriptions that detail metadata and feature support for each importer. | |
| GetLegalString | Gets the Assimp legal info. | |
| GetMaterialColor | Retrieves a color value from the material property table. | |
| GetMaterialFloatArray | Retrieves an array of float values with the specific key from the material. | |
| GetMaterialIntegerArray | Retrieves an array of integer values with the specific key from the material. | |
| GetMaterialProperty | Retrieves a material property with the specific key from the material. | |
| GetMaterialString | Retrieves a string from the material property table. | |
| GetMaterialTexture | Gets all values pertaining to a particular texture from a material. | |
| GetMaterialTextureCount | Gets the number of textures contained in the material for a particular texture type. | |
| GetMaterialTextureFilePath | Gets the texture filepath contained in the material. | |
| GetMemoryRequirements | Gets the memory requirements of the scene. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GetVerboseLoggingEnabled | Gets if verbose logging is enabled. | |
| GetVersion | Gets the native Assimp DLL's current version number as "major.minor.revision" string. This is the version of Assimp that this wrapper is currently using. | |
| GetVersionAsVersion | Gets the native Assimp DLL's current version number as a .NET version object. | |
| GetVersionMajor | Gets the native Assimp DLL's major version number. | |
| GetVersionMinor | Gets the native Assimp DLL's minor version number. | |
| GetVersionRevision | Gets the native Assimp DLL's revision version number. | |
| ImportFile(String, PostProcessSteps, IntPtr) | Imports a file. | |
| ImportFile(String, PostProcessSteps, IntPtr, IntPtr) | Imports a file. | |
| ImportFileFromStream | 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. | |
| IsExtensionSupported | Checks whether the model format extension is supported by Assimp. | |
| LoadLibrary |
Loads the unmanaged library using the UnmanagedLibraryResolver.
(Inherited from UnmanagedLibrary) | |
| LoadLibrary(String) |
Loads the unmanaged library using the supplied path.
(Inherited from UnmanagedLibrary) | |
| LoadLibrary(String, String) |
Loads the unmanaged library using the supplied 32 and 64 bit paths, the one chosen is based on the OS bitness.
(Inherited from UnmanagedLibrary) | |
| ReleaseImport | Releases the unmanaged scene data structure. This should NOT be used for unmanaged scenes that were marshaled from the managed scene structure - only for scenes whose memory was allocated by the native library! | |
| ReleasePropertyStore | Deletes a property store. | |
| SetImportPropertyFloat | Sets a float property value. | |
| SetImportPropertyInteger | Sets an integer property value. | |
| SetImportPropertyMatrix | Sets a matrix property value. | |
| SetImportPropertyString | Sets a string property value. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| LibraryFreed |
Occurs when the unmanaged library is freed.
(Inherited from UnmanagedLibrary) | |
| LibraryLoaded |
Occurs when the unmanaged library is loaded.
(Inherited from UnmanagedLibrary) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |