Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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-Models 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-Models
|   +-- README.md

Building

To build the project, load the CSharp.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.

About

C# Reference Loader for glTF

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.