Model loading · interface

Localised

Explained in Importing models.

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

Properties

NameTypeDescription
partsMeshData[]Parallel to the meshes given, each about the origin of the node that placed it.
worldFloat32Array[]Parallel to the nodes given: the accumulated world matrix, column-major.
warningsstring[]Nodes whose geometry could not be localised, named so a person can look at them.