Assimp |
public sealed class AssimpContext : IDisposable
The AssimpContext type exposes the following members.
| Name | Description | |
|---|---|---|
| AssimpContext | Constructs a new instance of the AssimpContext class. |
| Name | Description | |
|---|---|---|
| IsDisposed | Gets if the context has been disposed. | |
| PropertyConfigurations | Gets the property configurations set to this context. This is only used during import. | |
| Scale | Gets or sets the uniform scale for the model. This is multiplied with the existing root node's transform. This is only used during import. | |
| UsingCustomIOSystem | Gets whether this context is using a user-defined IO system for file handling. | |
| XAxisRotation | Gets or sets the model's rotation about the X-Axis, in degrees. This is multiplied with the existing root node's transform. This is only used during import. | |
| YAxisRotation | Gets or sets the model's rotation abut the Y-Axis, in degrees. This is multiplied with the existing root node's transform. This is only used during import. | |
| ZAxisRotation | Gets or sets the model's rotation about the Z-Axis, in degrees. This is multiplied with the existing root node's transform. This is only used during import. |
| Name | Description | |
|---|---|---|
| ContainsConfig | Checks if the context has a config set by the specified name. | |
| ConvertFromFileToBlob(String, String) | Converts the model contained in the file to the specified format and save it to a data blob. | |
| ConvertFromFileToBlob(String, String, PostProcessSteps) | Converts the model contained in the file to the specified format and save it to a data blob. | |
| ConvertFromFileToBlob(String, PostProcessSteps, String, PostProcessSteps) | Converts the model contained in the file to the specified format and save it to a data blob. | |
| ConvertFromFileToFile(String, String, String) | Converts the model contained in the file to the specified format and save it to a file. | |
| ConvertFromFileToFile(String, String, String, PostProcessSteps) | Converts the model contained in the file to the specified format and save it to a file. | |
| ConvertFromFileToFile(String, PostProcessSteps, String, String, PostProcessSteps) | Converts the model contained in the file to the specified format and save it to a file. | |
| ConvertFromStreamToBlob(Stream, String, String) | Converts the model contained in the stream to the specified format and save it to a data blob. It is up to the caller to dispose of the stream. If the format is distributed across multiple files/streams, set a custom IOSystem and use the "ConvertFromFileToBlob" family of functions. | |
| ConvertFromStreamToBlob(Stream, String, String, PostProcessSteps) | Converts the model contained in the stream to the specified format and save it to a data blob. It is up to the caller to dispose of the stream. If the format is distributed across multiple files/streams, set a custom IOSystem and use the "ConvertFromFileToBlob" family of functions. | |
| ConvertFromStreamToBlob(Stream, String, PostProcessSteps, String, PostProcessSteps) | Converts the model contained in the stream to the specified format and save it to a data blob. It is up to the caller to dispose of the stream. If the format is distributed across multiple files/streams, set a custom IOSystem and use the "ConvertFromFileToBlob" family of functions. | |
| ConvertFromStreamToFile(Stream, String, String, String) | Converts the model contained in the stream to the specified format and save it to a file. It is up to the caller to dispose of the stream. If the format is distributed across multiple files/streams, set a custom IOSystem and use the "ConvertFromFileToFile" family of functions. | |
| ConvertFromStreamToFile(Stream, String, String, String, PostProcessSteps) | Converts the model contained in the stream to the specified format and save it to a file. It is up to the caller to dispose of the stream. If the format is distributed across multiple files/streams, set a custom IOSystem and use the "ConvertFromFileToFile" family of functions. | |
| ConvertFromStreamToFile(Stream, String, PostProcessSteps, String, String, PostProcessSteps) | Converts the model contained in the stream to the specified format and save it to a file. It is up to the caller to dispose of the stream. If the format is distributed across multiple files/streams, set a custom IOSystem and use the "ConvertFromFileToFile" family of functions. | |
| Dispose | Disposes of resources held by the context. These include IO systems still attached. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| ExportFile(Scene, String, String) | Exports a scene to the specified format and writes it to a file. | |
| ExportFile(Scene, String, String, PostProcessSteps) | Exports a scene to the specified format and writes it to a file. | |
| ExportToBlob(Scene, String) | Exports a scene to the specified format and writes it to a data blob. | |
| ExportToBlob(Scene, String, PostProcessSteps) | Exports a scene to the specified format and writes it to a data blob. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetImporterDescriptionFor | Gets an importer description for the specified file extension. If no importers support it, null is returned. Multiple importers may support the file extension, they are called in the order that they were registered. | |
| GetImporterDescriptions | Gets descriptions for each importer that assimp has registered. | |
| GetSupportedExportFormats | Gets the model formats that are supported for export by Assimp. | |
| GetSupportedImportFormats | Gets the model formats that are supported for import by Assimp. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ImportFile(String) | Imports a model from the specified file without running any post-process steps. The importer sets configurations and loads the model into managed memory, releasing the unmanaged memory used by Assimp. | |
| ImportFile(String, PostProcessSteps) | Imports a model from the specified file. The importer sets configurations and loads the model into managed memory, releasing the unmanaged memory used by Assimp. | |
| ImportFileFromStream(Stream, String) | Imports a model from the stream without running any post-process steps. The importer sets configurations and loads the model into managed memory, releasing the unmanaged memory used by Assimp. It is up to the caller to dispose of the stream. If the format is distributed across multiple files/streams, set a custom IOSystem and use the "ImportFile" family of functions. | |
| ImportFileFromStream(Stream, PostProcessSteps, String) | Imports a model from the stream. The importer sets configurations and loads the model into managed memory, releasing the unmanaged memory used by Assimp. It is up to the caller to dispose of the stream. If the format is distributed across multiple files/streams, set a custom IOSystem and use the "ImportFile" family of functions. | |
| IsExportFormatSupported | Checks if the format extension (e.g. ".dae" or ".obj") is supported for export. | |
| IsImportFormatSupported | Checks if the format extension (e.g. ".dae" or ".obj") is supported for import. | |
| RemoveConfig | Removes a set configuration property by name. | |
| RemoveConfigs | Removes all configuration properties from the context. | |
| RemoveIOSystem | Removes the currently set custom file system implementation from the importer. | |
| SetConfig | Sets a configuration property to the context. This is only used during import. | |
| SetIOSystem | Sets a custom file system implementation that is used by this importer. If it is null, then the default assimp file system is used instead. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| 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) |