Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 406 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 406 Bytes

GLTF Typescript Interface Generator

Command line utility for generating a typescript interface from the current GLTF 2.0 JSON Schema.

Usage

npm install -g gltf-typescript-generator
gltf-typescript-generator ./GLTF.ts

Using a custom path to the GLTF schema

gltf-typescript-generator ./GLTF.d.ts https://rawgit.com/KhronosGroup/glTF/2.0/specification/2.0/schema/glTF.schema.json