gltfjsx <command>

GLTF to JSX converter

Arguments

NameDescription
commandfilepaths

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 <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,--debugDebug output