Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/popcron/open-asset-importer
WIP Open Asset Importer bindings for C# compatible with NativeAOT
https://github.com/popcron/open-asset-importer
assimp csharp dotnet nativeaot
Last synced: about 1 month ago
JSON representation
WIP Open Asset Importer bindings for C# compatible with NativeAOT
- Host: GitHub
- URL: https://github.com/popcron/open-asset-importer
- Owner: popcron
- Created: 2024-11-12T17:38:50.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-12T22:20:01.000Z (about 1 month ago)
- Last Synced: 2024-11-12T22:26:10.873Z (about 1 month ago)
- Topics: assimp, csharp, dotnet, nativeaot
- Language: C#
- Homepage:
- Size: 12.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Open Asset Importer
[![nuget](https://img.shields.io/nuget/v/OpenAssetImporter?logo=nuget&logoColor=white)](https://www.nuget.org/packages/OpenAssetImporter)
WIP C# bindings for Open Asset Importer, compatible with NativeAOT.
### Usage
Below is loading a file from disk into a scene:
```cs
using Scene scene = new("path/to/file.fbx");
ReadOnlySpan meshes = scene.Meshes;
Console.WriteLine($"Loaded {scene.Name} with {meshes.Length} meshes");
```