Model loading · interface

DrftFieldPlacement

One field, where it stands.

Explained in Importing models.

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

Properties

NameTypeDescription
sourcereadonlyDrftSdfvEntryThe field, in the object space of what it covers. It is a FieldSource as it stands.
modelreadonlyFloat32ArrayWorld from object: the fit, and for a copied mesh that copy's placement inside it.
meshreadonlynumberThe mesh the field covers, or SDFV_WHOLE_FILE for all of the file's static geometry.