dotnet add package StirlingLabs.Assimp.Net --version 23.4.1
NuGet\Install-Package StirlingLabs.Assimp.Net -Version 23.4.1
<PackageReference Include="StirlingLabs.Assimp.Net" Version="23.4.1" />
paket add StirlingLabs.Assimp.Net --version 23.4.1
#r "nuget: StirlingLabs.Assimp.Net, 23.4.1"
// Install StirlingLabs.Assimp.Net as a Cake Addin #addin nuget:?package=StirlingLabs.Assimp.Net&version=23.4.1 // Install StirlingLabs.Assimp.Net as a Cake Tool #tool nuget:?package=StirlingLabs.Assimp.Net&version=23.4.1
This is a fork of assimpnet by Starnick, a cross-platform .NET wrapper for the Open Asset Import Library (otherwise known as Assimp), which is a 3D model import-export library. The primary motivation is for this library to power content pipelines to import and process 3D models. Please see the Assimp website for a full list of supported formats and features. Each version of the managed wrapper tries to maintain parity with the features of the native version.
We intend to keep this fork close to the original, with the main differences being a focus on supporting modern .Net, Apple Silicon and a open, publicly verifiable build chain.
The managed assembly is compiled as AnyCpu and the native 64-bit multi-threaded binaries are loaded dynamically (including support for Apple Silicon).
The library is split between two parts, a low level and a high level. The intent is to give as much freedom as possible to the developer to work with the native library from managed code.
- Native methods are exposed via the AssimpLibrary singleton.
- Structures corresponding to unmanaged structures are prefixed with the name Ai and generally contain IntPtrs to the unmanaged data.
- Located in the Assimp.Unmanaged namespace.
- Replicates the native library's C++ API, but in a way that is more familiar to C# developers.
- Marshaling to and from managed memory handled automatically, all you need to worry about is processing your data.
- Located in the Assimp namespace.
This version of the library is focussed on modern .NET, targeting specifically:
- .NET Standard 2.1
- .NET 6
- .NET 7
The native binaries are resolved by the NuGet dependency graph automatically and are built & packaged in a closely-following fork of assimp.
The NuGet package supports the following Operating Systems and Architectures:
- Windows x64
- Linux x64
- MacOS x64 & Apple Silicon (M1)
A Unity plugin is inherited from Starnick but this is not our focus so we recommend that you use the original.
The library is licensed under the MIT license. This means you're free to modify the source and use the library in whatever way you want, as long as you attribute the original authors. The native library is licensed under the 3-Clause BSD license. Please be kind enough to include the licensing text file (it contains both licenses).
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.1 is compatible.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.