The .drft container · interface
DrftHead
What HEAD says about the asset as a whole.
Explained in The .drft container.
interface DrftHeadimport type { DrftHead } from '@driftengine/drft';Properties
| Name | Type | Description |
|---|---|---|
namereadonly | string | The asset's own name, for diagnostics. Never load-bearing. |
generatorreadonly | string | What wrote it — tool and version — so a bad bake can be traced to its baker. |
unitScalereadonly | number | Metres per unit in the source. 1 for an asset already authored in metres. |
boundsreadonly | readonly number[] | Axis-aligned bounds of everything, in this file's units: min x/y/z then max x/y/z. |