This is a small .Net wrapper over Khronos glTF-Validator
Notice that it wraps the command line executable provided by gltf-Validator.
The nuget package includes the gltf-validator command line executable which is invoked as a process under the hood.
Current version uses glTF-Validator v2.0.0-dev.3.10
Supported platforms are:
- Windows (tested)
- Linux (untested)
- Mac (untested)
The main usage of this library is for unit tests and content pipelines.
Simply reference this package and call:
using GltfValidator;
var report = ValidationReport.Validate("avocado.gltf");Thanks to Khronos for developing glTF-Validator.