gltfjsx <file>

GLTF to JSX converter

Arguments

NameDescription
filefilepaths

Options

NameDescription
-t, --typesAdd Typescript definitions
-v, --verboseVerbose output w/ names and empty groups
-m, --metaInclude metadata (as userData)
-s, --shadowsLet 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, --debugDebug output