Model loading · interface
BakeModelOptions
What the command's flags decide. Every field is optional and absent means the command's default.
Explained in Importing models.
interface BakeModelOptionsimport type { BakeModelOptions } from '@driftengine/assets';Properties
| Name | Type | Description |
|---|---|---|
namereadonly | string | HEAD's name, unless the file carries its own: the source's name without its extension. |
upreadonlyoptional | UpAxis | null | --up: which way is up in the source, over what the file declares. |
lodCellsreadonlyoptional | number | null | The outline: null writes none, a number builds one at that many cells, and absent keeps the
one a .drft export carried or builds one at the default. |
findInstancesreadonlyoptional | boolean | --no-instances is false: write merged copies as they came. |
quantisereadonlyoptional | boolean | --no-quantise is false. |
blendAsCutoutreadonlyoptional | boolean | --blend-as-cutout. |
simplifyreadonlyoptional | number | --simplify m. |
sdfreadonlyoptional | number | --sdf m. |