Model loading · interface

DnaField

One field of a catalogued struct, with its offset already summed.

Explained in Importing models.

interface DnaField
import type { DnaField } from '@driftengine/assets';

Properties

NameTypeDescription
namereadonlystringThe bare name: *next and co[3] are next and co.
typereadonlystring
offsetreadonlynumber
sizereadonlynumber
pointerreadonlyboolean
dimsreadonlyreadonly number[]Array dimensions, outermost first; empty for a scalar.