LT.AssimpMetadata 6.0.2

Suggested Alternatives

LittleToxic.AssimpMetadata

dotnet add package LT.AssimpMetadata --version 6.0.2
                    
NuGet\Install-Package LT.AssimpMetadata -Version 6.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LT.AssimpMetadata" Version="6.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LT.AssimpMetadata" Version="6.0.2" />
                    
Directory.Packages.props
<PackageReference Include="LT.AssimpMetadata" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LT.AssimpMetadata --version 6.0.2
                    
#r "nuget: LT.AssimpMetadata, 6.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LT.AssimpMetadata@6.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LT.AssimpMetadata&version=6.0.2
                    
Install as a Cake Addin
#tool nuget:?package=LT.AssimpMetadata&version=6.0.2
                    
Install as a Cake Tool

LT.AssimpMetadata

Windows Metadata (.winmd) for the Assimp (Open Asset Import Library) C API, enabling use with CsWin32 source generator.

Features

  • Complete metadata for Assimp 6.0.2 C API
  • Includes native assimp.dll for Windows x64
  • Seamless integration with CsWin32

Installation

  1. Install this package:

    dotnet add package LT.AssimpMetadata
    
  2. Install CsWin32 (required separately):

    dotnet add package Microsoft.Windows.CsWin32 --prerelease
    

Usage

  1. Create a NativeMethods.txt file in your project root:

    aiImportFile
    aiReleaseImport
    aiGetErrorString
    aiScene
    aiMesh
    
  2. Build your project. CsWin32 automatically generates P/Invoke bindings.

  3. Use the generated APIs:

    using Windows.Win32;
    
    unsafe
    {
        var scene = PInvoke.aiImportFile("model.obj", 0);
        // ... work with the scene
        PInvoke.aiReleaseImport(scene);
    }
    

Requirements

  • .NET 6.0 or later
  • Windows x64
  • Microsoft.Windows.CsWin32 (installed separately)

Supported APIs

All Assimp C API functions are available, including:

  • Import/Export: aiImportFile, aiExportScene, etc.
  • Scene traversal: aiScene, aiNode, aiMesh, etc.
  • Materials: aiMaterial, aiGetMaterialProperty, etc.
  • Post-processing: aiPostProcessSteps flags

License

MIT License. Assimp library is under BSD-3-Clause license.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.2 182 1/14/2026 6.0.2 is deprecated because it is no longer maintained.