Model loading · interface
DrftFieldPlacement
One field, where it stands.
Explained in Importing models.
interface DrftFieldPlacementimport type { DrftFieldPlacement } from '@driftengine/assets';Properties
| Name | Type | Description |
|---|---|---|
sourcereadonly | DrftSdfvEntry | The field, in the object space of what it covers. It is a FieldSource as it stands. |
modelreadonly | Float32Array | World from object: the fit, and for a copied mesh that copy's placement inside it. |
meshreadonly | number | The mesh the field covers, or SDFV_WHOLE_FILE for all of the file's static geometry. |