gltfjsx <command>
GLTF to JSX converter
Arguments
Name | Description |
---|---|
command | filepaths |
Options
Name | Description |
---|---|
-t,--types | Add Typescript definitions |
-v,--verbose | Verbose output w/ names and empty groups |
-m,--meta | Include metadata (as userData) |
-s,--shadows | Let meshes cast and receive shadows |
-w,--printwidth <command> | Prettier printWidth (default: 120) |
-p,--precision <command> | Number of fractional digits (default: 2) |
-d,--draco <command> | Draco binary path |
-r,--root <command> | Sets directory from which .gltf file is served |
-D,--debug | Debug output |