gltfjsx <file>
GLTF to JSX converter
Arguments
Name | Description |
---|---|
file | 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 <width> | Prettier printWidth (default: 120) |
-p, --precision <digits> | Number of fractional digits (default: 2) |
-d, --draco <path> | Draco binary path |
-r, --root <root> | Sets directory from which .gltf file is served |
-D, --debug | Debug output |