C#

glTF-CSharp-Loader

C# Reference Loader for glTF

K

KhronosGroup

Dernière activité 18 sept. 2026
KhronosGroup/glTF-CSharp-Loader

247

étoiles

70

forks

4

issues ouvertes

Ce README est souvent en anglais.

CI NuGet Downloads

This is a C# reference loader for glTF. It's as simple to use as Interface.LoadModel("PathToModel.gltf"). You can use this loader in your project by importing the "glTF2Loader" NuGet package. Additional examples can be found in the gltfLoaderUnitTests project.

Build Instructions

Prerequisites

This solution requires access to the glTF schema to compile and the sample models to test. It assumes that the glTF and glTF-Sample-Assets repos have been cloned under the same root directory that the glTF-CSharp-Loader repo was cloned.

repos
+-- glTF
|   +-- README.md
+-- glTF-CSharp-Loader
|   +-- README.md
+-- glTF-Sample-Assets
|   +-- README.md

Building

To build the project, load the GltfLoader.sln solution. Click "Start". This will build glTFLoader_Shared, GeneratorLib, and Generator. It will then run the Generator. The generator reads the .spec files defining the glTF standard and generates a set of classes that will be used as the schema for loading your models. The glTFLoader project can now be built. You will need glTFLoader.dll and glTFLoader_shared.dll in order to use the loader in any subsequent project.

Projets similaires

Runtime glTF 2.0 Loader for Unity3D

C#gltfunity3d
KKhronosGroup
2,2 k étoiles537

glTF reader and writer for .NET Standard

C#3dcsharpgltf
Vvpenades
602 étoiles93

Blender glTF 2.0 importer and exporter

Python
KKhronosGroup
1,7 k étoiles358