Model loading · interface
DnaField
One field of a catalogued struct, with its offset already summed.
Explained in Importing models.
interface DnaFieldimport type { DnaField } from '@driftengine/assets';Properties
| Name | Type | Description |
|---|---|---|
namereadonly | string | The bare name: *next and co[3] are next and co. |
typereadonly | string | |
offsetreadonly | number | |
sizereadonly | number | |
pointerreadonly | boolean | |
dimsreadonly | readonly number[] | Array dimensions, outermost first; empty for a scalar. |